Some handy Kafka commands (that I keep forgetting)

List all topics

kafka-topics.sh --bootstrap-server localhost:9092 --list

Consume from a given topic from console

kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic nameOfYourTopic

Discover more from Master the Math

Subscribe to get the latest posts sent to your email.

Leave a Reply

Scroll to Top
Cookie Consent with Real Cookie Banner