We have written a java client for publishing message to kafka. The code is as shown below
Properties props = new Properties(); props.setProperty(ProducerConf
We finally figured out the issue... We were running kafka in a hybrid evironment as mentioned in the following post -
https://medium.com/@thedude_rog/running-kafka-in-a-hybrid-cloud-environment-17a8f3cfc284
We changed the host.name to the internal IP and advertised.host.name to external IP