After setting up Kafka with Docker, I created a topic called 'my-topic' and tried to send and receive messages using a producer and consumer. However, I am unable to receive any messages. What could be the possible issue in this case? Topic retrieval is working fine. enter image description here
The message was sent as shown in the picture. But no message came.
I tried creating a consumer group, but I get a timeout exception.
Docker network is tied to ZooKeeper and Kafka.