I have installed Kafka with all default settings on my Ubuntu partition On my windows partition on the same machine, using python, I have followed the steps of this guide.
Producer1.py creates the topic 'First_Topic' in my Kafka But Consumer1.py does not show any information and times out after some time. When I access Kafka from my ubuntu terminal, am able to see the newly created Kafka but no messages are consumed/available.
So initially my doubt was that am not able to connect from Windows partition to Ubuntu, but as I can see that the Kafka topic has got created then it shouldn't be that case.
Only change in code is the localhost which I've replaced as bootstrap_servers = ['DESKTOP-MyUbuntu:9092']
from the original bootstrap_servers = ['localhost:9092']
What changes do I need to do to read the kafka messages in my consumer1.py?