kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Balasubramanian Jayaraman <balasubramanian.jayara...@autodesk.com>
Subject RE: Reg Broker information.
Date Thu, 26 Jun 2014 08:37:52 GMT
Hi,

I used the command (bin/zookeeper-shell.sh 0.0.0.0:2181 get /brokers/ids/0) to get the broker
metadata information. 
How do I get the list of brokers attached to a zookeeper ? 

Is my question clear ?

Thanks
Bala
-----Original Message-----
From: Neha Narkhede [mailto:neha.narkhede@gmail.com] 
Sent: Thursday, June 26, 2014 1:20 PM
To: users@kafka.apache.org
Subject: Re: Reg Broker information.

I'm not sure I understood your question. If you want to know all registered brokers, could
you list the broker ids "ls /brokers/ids" and then read each of the returned children nodes?



On Wed, Jun 25, 2014 at 7:29 PM, Balasubramanian Jayaraman < balasubramanian.jayaraman@autodesk.com>
wrote:

> Hi,
>
> Currently we have the command (/brokers/ids/0) to get the individual  
> broker registration information.
> How do I get all the registered brokers from the zookeeper.
>
> Thanks
> Bala
>
>
Mime
View raw message