Get Docker (Desktop).
Start a stack with Zookeeper, Kafka and a topic initializer.
> docker compose up
Wait for a message saying "Ready to go!"
Start application with localhost profile, e.g.
> mvn -D'spring-boot.run.arguments'='--spring.config.name=localhost' spring-boot:run
or preferably using a Spring Boot run configuration in IntelliJ with program arguments --spring.config.name=localhost
.
- Reduce logging in localhost Kafka stack.