Skip to content

nativanando/kafka-producer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a topic as example

docker exec -ti container-id kafka-topics --create --topic second-data-topic --partitions 2 --replication-factor 1 --if-not-exists --zookeeper zookeeper:2181 docker exec -ti 3fab8db0fd87 kafka-topics --create --topic first-data-topic --partitions 2 --replication-factor 1 --if-not-exists --zookeeper zookeeper:2181

docker exec -ti 3fab8db0fd87 kafka-topics --describe --topic first-data-topic --zookeeper zookeeper:2181

docker exec -ti 3fab8db0fd87 kafka-console-consumer --bootstrap-server kafka:9092 --topic first-data-topic --from-beginning

About

Java kafka producer source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published