Skip to content

dalelane/avro-explorations

Repository files navigation

avro-explorations

This is a Java application written to illustrate the blog posts:

It produces messages to Kafka topics, serialized as binary-encoded Avro using a variety of Avro schemas.

It then consumes them, using different schemas to illustrate what happens if you don't use schemas correctly.

To build:

./0-compile.sh

Create a file called app.properties and add the config for your Kafka cluster to it.

To produce test messages:

./1-produce.sh

example output

To consume test messages and display the results:

./2-consume.sh

example output

About

Sample code to illustrate a few points about how Avro deserializing works

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published