Hi :wave: with this below flink sql code I am wan...
# troubleshooting
h
Hi πŸ‘‹ with this below flink sql code I am wanting to find CREATE TABLE kafka_table ( field1 INT, field2 STRING, field3 DOUBLE ) WITH ( 'connector' = 'kafka', 'topic' = 'your_topic_name', 'properties.bootstrap.servers' = 'your_bootstrap_servers', 'properties.group.id' = 'your_consumer_group_id', 'format' = 'json' ); How to read null value. I have Kafka message with key set but the whole body is null. I want to read such a value and send null out again
t
To handle Kafka messages with null bodies in Flink SQL, you'll likely need custom deserialization logic, as Flink SQL with JSON format doesn't natively support emitting null for entirely null message bodies. Flink SQL can ignore parse errors or filter nulls in fields, but for complete null messages, consider using the DataStream API for more flexibility or ensure messages have a minimal JSON structure to work within Flink SQL constraints.