Re: How to get topic list from kafka server

2013-03-13 Thread Jun Rao
If you provide an empty list in the getMetaData api, you get the metadata for all topics. Thanks, Jun On Wed, Mar 13, 2013 at 12:38 AM, Snehalata Nagaje < snehalata.nag...@harbingergroup.com> wrote: > Hi, > > > > I am using kafka 0.8 version. > > > > I want to know the list of topics created in

Re: How to get topic list from kafka server

2013-03-13 Thread Chris Curtin
I'm curious the use case, but I think you'll need to use a combination of ZooKeeper meta data and the TopicMetadata API. The list of known topics for the cluster is in ZooKeeper: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+data+structures+in+Zookeeper Also in ZooKeeper is the list of

How to get topic list from kafka server

2013-03-13 Thread Snehalata Nagaje
Hi, I am using kafka 0.8 version. I want to know the list of topics created in kafka server along with it's metadata. Is there any API available to find out this? There is API to fetch TopicMetadata, but this needs name of topic as input parameters. I need information for all to