You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by David Montgomery <da...@gmail.com> on 2014/02/12 23:09:07 UTC

where is my kafka ip address in ZK. I get nothing in a broker ID

Hi,

I am using kafka 8.0.


when I set up kafka........and I look at the broker id in ZK...this is what
I get:

#my python script
print client.get_children('/brokers/ids/1391209402')
[ ]

should I not see the ip address?

Thanks

Re: where is my kafka ip address in ZK. I get nothing in a broker ID

Posted by David DeMaagd <dd...@linkedin.com>.
That information is in that node, not under it (you want a get() instead
of a get_children())...

-- 
Dave DeMaagd | S'aite Reliability Engineering, Y'all
ddemaagd@linkedin.com | 818 262 7958

(davidmontgomery@gmail.com - Thu, Feb 13, 2014 at 06:09:07AM +0800)
> Hi,
> 
> I am using kafka 8.0.
> 
> 
> when I set up kafka........and I look at the broker id in ZK...this is what
> I get:
> 
> #my python script
> print client.get_children('/brokers/ids/1391209402')
> [ ]
> 
> should I not see the ip address?
> 
> Thanks