https://github.com/stylepatrick/spring-boot-kafka-demo
Demo with Kafka producer and cosumer in Spring Boot. Convert messages from POJOs to JSON and vice versa.
https://github.com/stylepatrick/spring-boot-kafka-demo
kafka kafka-consumer kafka-producer spring-boot webmvc
Last synced: about 1 month ago
JSON representation
Demo with Kafka producer and cosumer in Spring Boot. Convert messages from POJOs to JSON and vice versa.
- Host: GitHub
- URL: https://github.com/stylepatrick/spring-boot-kafka-demo
- Owner: stylepatrick
- License: mit
- Created: 2021-09-24T10:38:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-24T10:38:18.000Z (over 4 years ago)
- Last Synced: 2025-03-21T11:22:49.455Z (about 1 year ago)
- Topics: kafka, kafka-consumer, kafka-producer, spring-boot, webmvc
- Language: Java
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spring-boot-kafka-demo
Demo with Kafka producer and cosumer in Spring Boot. Convert messages from POJOs to JSON and vice versa.
### Structure:
A HTTP request can be send to following endpoints:
- api/kafka/car/{name}/{brand}
- api/kafka/film/{name}/{releaseYear}
After receiving a request via WebMVC it gets forwarded to the Kafka topic.
There is an listener active which checks if a new message is comming to the topics.