013. CLI. Consumer. - MarkHuntDev/my-kafka-exercises GitHub Wiki
-
Consume messages (in real-time)
- $ kafka-console-consumer.sh --bootstrap-server 127.0.0.1:9092 --topic <topic_name>
-
Consume all messages (from beginning and in real-time)
- $ kafka-console-consumer.sh --bootstrap-server 127.0.0.1:9092 --topic <topic_name> --from-beginning