Guest User

Untitled

a guest
May 26th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. # Commands to work with Kafka
  2.  
  3. List all topics from Kafka
  4.  
  5. `kafka-topics.sh --list --zookeeper localhost:2181`
  6.  
  7. Consume all messages from a topic from beginning
  8.  
  9. `kafka-console-consumer.sh --zookeeper localhost:2181 --topic topic_name --from-beginning`
Add Comment
Please, Sign In to add comment