Hi@akhtar,
If you already created multiple producers then use the bellow command according to your port no.
$ ./bin/kafka-console-consumer.sh --zookeeper localhost:2181 -topic topic-name --from-beginning
Hope this will work
Join our Kafka course online today to become certified expert.
Thank You