If you set advertised.hostname in server.properties to the ip address, the
IP will be registered in ZooKeeper.


On Fri, May 22, 2015 at 2:20 PM, Achanta Vamsi Subhash <
achanta.va...@flipkart.com> wrote:

> Hi,
>
> Currently Kakfa brokers register the hostname in zookeeper.
>
> [zk: localhost:2181(CONNECTED) 5] get /varadhi/kafka/brokers/ids/0
>
> {"jmx_port":9999,"timestamp":"1427704934158","host":"currHostName","version":1,"port":9092}
>
> ​Is there any config to make it use ip-address instead so that we don't
> make a DNS lookup for the hostname?
>
> --
> Regards
> Vamsi Subhash
>

Reply via email to