Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 500 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 500 Bytes

spring-boot-kafka

Run integration tests

mvn install -f model/pom.xml
mvn verify -Ddocker_host=localhost -f producer/pom.xml
mvn verify -Ddocker_host=localhost -f consumer/pom.xml

Run Kafka

mvn docker:run -Ddocker_host=localhost -f producer/pom.xml

Run Kafka Cluster

cd kafka-cluster/
docker-compose up -d

Run applications

mvn spring-boot:run -Ddocker_host=localhost -f producer/pom.xml
mvn spring-boot:run -Ddocker_host=localhost -f consumer/pom.xml