Skip to content

Instantly share code, notes, and snippets.

@yasinuygun
Last active March 18, 2021 05:29
Show Gist options
  • Save yasinuygun/38e0151fb460c4e2839dbca743e1bbc7 to your computer and use it in GitHub Desktop.
Save yasinuygun/38e0151fb460c4e2839dbca743e1bbc7 to your computer and use it in GitHub Desktop.
Example kafka commands
kafka-topics.sh --list --bootstrap-server localhost:9092
kafka-topics.sh --describe --topic example-topic --bootstrap-server localhost:9092
kafka-topics.sh --create --topic example-topic --bootstrap-server localhost:9092
kafka-topics.sh --delete --topic example-topic --bootstrap-server localhost:9092
kafka-console-consumer.sh --from-beginning --topic example-topic --bootstrap-server localhost:9092
kafka-console-producer.sh --topic example-topic --bootstrap-server localhost:9092
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment