Skip to content

ranjitburgute/spring-boot-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-kafka

run kafka and zookeeper

docker-compose up -d

stop kafka and zookeeper

docker-compose down

start order service spring boot application

start delivery service spring boot application

send new order request from postmon

header: POST

body: { "id" : 1, "name": "Macbook", "price" : 999.00, "quantity": 1 }

verify logs for order and delivery service

read messages from terminal

docker exec -it broker kafka-console-consumer
--bootstrap-server broker:9092
--topic orders
--from-beginning

About

spring boot kafka

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published