Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 602 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 602 Bytes

Kafka Spring Demo

Demo usage of Kafka in Spring application

Run Kafka Cluster in docker (optional)

Run Kafka in docker

docker-compose up -d

or update kafka connection info in: application.yml

Prepare Kafka topics

After cluster is up, prepare Kafka topics. From the project root do:

cd infra
terraform init
terraform apply 

see infra/README.md for details

How to run

Run in the terminal:

./gradlew bootRun

open swagger UI at openapi link