- Set up a local kafka env with minimal effort
- Create a Java (spring-boot) example with basic Kafka
producerandconsumerconfigurations
- docker
- spring-boot
- java 8+
All of the services needed to get kakfa working is defined in the docker/local-kafka-setup.yml file. There are four services defined in that file
- zookeeper - Required to run Kafka
- kafka - Kafka
- kafka-rest-proxy - API interface to Kafka
- kafka-topics-ui - Nice UI component to view topics
Just run the /bin/setup_kafka.sh. You will need docker and docker-compose`
Run mvn spring-boot:run