Re: Get all the partion details from zookeeper for a topic

2013-03-06 Thread sourabh chaki
didn't check before I typed. I was referring to readData(). > > Thanks, > Neha > > > On Tue, Mar 5, 2013 at 11:04 PM, sourabh chaki >wrote: > > > Hi Neha, > > I am using zkclient version 0.1. I dont see any method "getData" in > > zkclient. Ple

Re: Get all the partion details from zookeeper for a topic

2013-03-05 Thread sourabh chaki
path - /brokers/topics/test-topic/1. That will return the # of partitions > on this broker, which is 1. > > Thanks, > Neha > > > On Tue, Mar 5, 2013 at 6:48 AM, sourabh chaki >wrote: > > > Hi Neha, > > > > Thanks for your reply. > >

Re: Get all the partion details from zookeeper for a topic

2013-03-05 Thread sourabh chaki
er of partitions for a topic - > > get /brokers/topics/[topic]/[broker-id] > > This will give you # of partitions/broker, you can then add up this value > across all brokers. > > Thanks, > Neha > > > On Wed, Feb 27, 2013 at 4:32 AM, sourabh chaki >wrote: > > &g

Re: Get all the partion details from zookeeper for a topic

2013-02-27 Thread sourabh chaki
Hi All, I am using zookeeper based connector to get data from Kafka Server. Is there any way to get all the partitions from zookeeper for a given topic? I need do do that through java code. Please help!!! Thanks.