I’m trying to use Avro for messages being read from/written to Kafka. Does anyone have an example of using the Avro binary encoder to encode/decode data that will be put on a message queue?
I need the Avro part more than the Kafka part. Or, perhaps I should look at a different solution? Basically, I’m trying to find a more efficient solution to JSON with regards to space. Avro was just mentioned since it can be more compact than JSON.
I finally remembered to ask the Kafka mailing list and got the following as an answer, which worked perfectly.