Skip to content

Java-Techie-jt/kafka-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

kafka-publisher

Apache Kafka Publisher Example using SpringBoot

start zookeeper.start bat file like below

zookeeper-server-start.bat D:\DEV-SOFTWARES\kafka_2.12-1.1.0\config\zookeeper.properties

start kafka server

kafka-server-start.bat D:\DEV-SOFTWARES\kafka_2.12-1.1.0\config\server.properties

Create Topic:

kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 -topic javatechie

Produce a message

kafka-console-producer.bat --broker-list localhost:9092 --topic javatechie

Consume a message

kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic javatechie

About

Apache Kafka Publisher Example using SpringBoot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages