juju-solutions / bigtop

Mirror of Apache Bigtop
Apache License 2.0
0 stars 2 forks source link

Kafka advertised.host.name must be resolvable by the clients #29

Open ktsakalozos opened 8 years ago

ktsakalozos commented 8 years ago

In an LXC setup I couldn't write to a Kafka queue from the host machine. To make this clear, the host machine was 10.0.3.1 and Kafka was 10.0.3.209. The reason was that the hostname advertised was not resolvable from 10.0.3.1. The fix was to add an entry to the /etc/hosts for the machine were Kafka is. I am pretty sure we have discussed this in the past.

ktsakalozos commented 8 years ago

Known issue. Closing this. For now we, put the Ip of the interface we listen to or the hostname -s if we do not bind to any IP

ktsakalozos commented 8 years ago

I was wrong, we need to backport the work we did on apache-kafka here.