Fika Fetsy
07/17/2024, 2:38 PMkapa.ai
07/17/2024, 2:38 PMasText()
on a JsonNode
object that is null. This could be due to the Kafka source returning an empty or null message. Unfortunately, the knowledge sources provided do not contain a direct solution to this issue with the Kafka source and Avro. However, there's a similar issue reported in the Airbyte Github repository where a user solved a problem with empty messages in the Kafka connector by editing the source code of the connector. Here's the code snippet they provided: java .withData(Jsons.jsonNode(ImmutableMap.builder().put("value", output).build())));
Please note that modifying the source code should be done with caution and understanding of the changes you're making. If the issue persists, I recommend reaching out to the Airbyte community or support for further assistance. Knowledge Source: [Github Issue (open): [source-kafka] Empty messages > Comments](https://github.com/airbytehq/airbyte/issues/29464)