kafka consumer how to see the topic message came code example
Example: kafka console consumer read topic
$ bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server localhost:9092
This is my first event
This is my second event