Demo usage of Kafka in Spring application
Run Kafka in docker
docker-compose up -d
or update kafka connection info in: application.yml
After cluster is up, prepare Kafka topics. From the project root do:
cd infra
terraform init
terraform apply
see infra/README.md for details
Run in the terminal:
./gradlew bootRun
open swagger UI at openapi link