kafka console consumer latest messages 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