Skip to content

matiasfic/spring-boot-kafka-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-kafka-demo

Spring Kafka Producer and Consumer demo for:

  • String messages
  • Json messages

Requirements

  • Zookeper running on default port 2181
  • Kafka server running on default port 9092

Tutorial for windows: https://dzone.com/articles/running-apache-kafka-on-windows-os

Endpoints:

curl -L -X GET 'http://localhost:8081/message/hello'
curl -L -X POST 'http://localhost:8081/orders' \
-H 'Content-Type: application/json' \
--data-raw '{
	"id": "newOrderId",
	"status": "CREATED",
	"price": 125.50
}'

About

Spring Kafka Producer and Consumer demo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages