How to get the embedded schema id from a Kafka message using a CLI tool?
I am trying using kcat
and I can parse pointing to my Schema Registry, but for debugging purposes, I want to get it in bytes and parse the schema id out of the message.
It is known that the id is in the 1-4 bytes. How can I parse the bytes and extract the id from my own terminal?
kafka-avro-console-consumer --property print.schema.ids=true
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.