Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 724 Bytes

File metadata and controls

24 lines (16 loc) · 724 Bytes

Kafka producer-consumer example using springboot microservices

This is just a working template of producing and consuming message in Spring Boot using Kafka

Kafka Producer

How to produce messages?

Kafka topic

  • kafka-spring-producer

Kafka Consumer

How to produce messages?

  • Just run the application and start producing messages, It will show up in console.

Kafka topic

  • kafka-spring-producer

Requirements to run the template

  • Zookeeper
  • Kafka

TODO : This is just a template project to get up and running, So here we have hardcoded the topics and port in java class, You should use application config for injecting these values.