castorm/kafka-connect-http

Handling multi-line JSON response

davidwmartines2 opened this issue · 1 comments

Is there a way to handle a response that contains multiple JSON objects, one per line? This would not be a valid JSON document, and is not an array.
Example:

{"foo": "bar", "id": 1}
{"foo": "bar", "id": 2}
{"foo": "bar", "id": 3}

It appears the default behavior is that only the first JSON object is parsed into a record.

Thanks for any ideas.

Going to ask this in the Discussions area!