to build a project either use IDE built in tools
or navigate to an exercise subfolder and execute "mvn clean install"
and execute the .jar file in the generated target folder with "java -jar *.jar"
A docker-compose file exists in the root of this project. Execute following to spin it up.
docker compose up
You can access a Kafka UI under http://localhost:8080
To utilize your local Kafka use a different properties setup for the clients.
properties.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092");
properties.put(KafkaAvroSerializerConfig.SCHEMA_REGISTRY_URL_CONFIG, "http://localhost:8081");
properties.put(KafkaAvroSerializerConfig.AUTO_REGISTER_SCHEMAS, "true");