Kafka Spring Boot 2 Example A very quick example of a Kafka and Spring Boot mix. Pre-requisite: Kafka locally (stick to the defaults of how zookeeper and ) Run in/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic mytest