Skip to content

denismwangi/kafka-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kafka-publisher

start zookeeper.start bat file like below

zookeeper-server-start.bat D:\kafka_2.12-2.7.0\config\zookeeper.properties

start kafka server

kafka-server-start.bat D:\kafka_2.12-2.7.0\config\server.properties

Create Topic:

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

Produce a message

kafka-console-producer.bat --broker-list localhost:9092 --kafka-prod

Consume a message

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

Releases

No releases published

Packages

No packages published

Languages