Skip to content

Instantly share code, notes, and snippets.

@rieckpil
Created September 2, 2017 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rieckpil/44759c543798a0e9a32b0fc7e8d9c361 to your computer and use it in GitHub Desktop.
Save rieckpil/44759c543798a0e9a32b0fc7e8d9c361 to your computer and use it in GitHub Desktop.
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