Robin Moffatt 7/3/2020

Why JSON isn't the same as JSON Schema in Kafka Connect converters and ksqlDB (Viewing Kafka messages bytes as hex)

Read Original

This technical article details the differences between JSON and JSON Schema serializers in Kafka Connect and ksqlDB. It demonstrates using kafkacat and hexdump to examine the raw byte format, highlighting the five-byte header (magic byte and schema ID) present in JSON Schema messages but not in plain JSON. The author warns that the converters are not interchangeable due to this wire format difference, which can cause breakage if misused.

Why JSON isn't the same as JSON Schema in Kafka Connect converters and ksqlDB (Viewing Kafka messages bytes as hex)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week