Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Mirko Bonasorte fcracker79

🎯
Focusing
Block or report user

Report or block fcracker79

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ursuad
ursuad / kafka-cheat-sheet.md
Last active Feb 17, 2020
Quick command reference for Apache Kafka
View kafka-cheat-sheet.md

Kafka Topics

List existing topics

bin/kafka-topics.sh --zookeeper localhost:2181 --list

Describe a topic

bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic

Purge a topic

bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000

... wait a minute ...

You can’t perform that action at this time.