Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Problems with Kafka in docker with advertised.host.name


Copy link to this message
-
Re: Problems with Kafka in docker with advertised.host.name
Joel Koshy 2014-01-17, 21:41
I don't think that feature made it into the 0.8.0 release. Can you try
the latest version on trunk?

Thanks,

Joel

On Fri, Jan 17, 2014 at 03:26:11PM -0600, Gino Bustelo wrote:
> Using kafka 0.8.0
>
> 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;
>
> advertised.host.name=192.168.22.10
>
> 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.
>
> About to try https://github.com/signalfuse/docker-kafka, but I don's see
> anything specially different there from what I'm doing.
>
> Thanks in advance for any help!
> Gino