How to view kafka message

The Solution to How to view kafka message is


You can use console consumer to view messages produced on some topic:

bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning

~ Answered on 2017-05-29 09:31:34


Most Viewed Questions: