Thanks a lot carolyuu !!
it finally worked out , a few points I would like to add for anyone else who maybe facing the same issue :
- follow the steps as given on https://kafka.apache.org/quickstart to setup your host BUT you need to make slight changes in the kafka config files on the host(X86) machine :
change the following line in server.properties file placed on kafka/config
1.
zookeeper.connect = [your_X86_machines_IP]:9092
listeners = PLAINTEXT://[your_X86_machine's_IP]:9092
advertised.listeners = PLAINTEXT://[your_X86_machine's_IP]:9092
Also make sure that when you spin up the server or create the topic or spin up the consumer, you replace the localhost with [your_X86_machine’s_IP]