These instructions will show how to run kafka locally and how to install kafkacat, a tool to display messages in a kafka topic
In a terminal cd to the root of this project and run
docker-compose up -d
Check both kafka and zookeeper are running
docker ps
cd sample-spring-kafka-producer
../gradlew bootRun
cd sample-spring-kafka-consumer
../gradlew bootRun
The producer should print a message on the console that the Work unit has been dispatched and the consumer should receive and process the Work unit