Skip to content

onakrainikoff/spring-boot-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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