I'm building my own simple docker container for Kafka. I'm trying to set advertised.host.name to the docker host ip in order to expose Kafka broker to the outside world. When I set the property in server.properties as such;
I get the following WARN in the console;
[2014-01-17 20:53:27,900] WARN Property advertised.port is not valid (kafka.utils.VerifiableProperties)
When I check zookeeper, the broker is registering itself using the docker hostname. I've also tested setting the advertised.port and I see a similar warning and it is also ignored.
Apache Lucene, Apache Solr and all other Apache Software Foundation projects and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext