You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Sam William <sa...@stumbleupon.com> on 2012/03/22 08:55:09 UTC

Querying for topics

Is there a way I can query for the list of all available topics in a kafka cluster?

Sam William
sampd@stumbleupon.com




Re: Querying for topics

Posted by Neha Narkhede <ne...@gmail.com>.
Sam,

Currently the way you can achieve that is by querying zookeeper -

./bin/zookeeper-shell.sh zk_host:zk_port
ls /brokers/topics

This feature will be good to add as part of KAFKA-266

Thanks,
Neha

On Thu, Mar 22, 2012 at 12:55 AM, Sam William <sa...@stumbleupon.com> wrote:
> Is there a way I can query for the list of all available topics in a kafka cluster?
>
> Sam William
> sampd@stumbleupon.com
>
>
>