Skip to content

Instantly share code, notes, and snippets.

@rieckpil
Created Sep 2, 2017
Embed
What would you like to do?
Useful kafka commands
./kafka-console-producer.sh --topic topicName --broker-list localhost:9092
./kafka-topics.sh --create --replication-factor 1 --partitions 1 --zookeeper localhost:2181 --topic topicName
./kafka-topics.sh --describe --zookeeper localhost:2181
./zookeeper-server-start.sh ../conf/zookeeper.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment