Why do you want to get topic list from zookeeper? As alternative you can send TopicMetadataRequest to SimpleConsumer and get TopicMetadataResponse that contains list of topics.
Thanks, Viktor 2013/10/30 小宇 <mocking...@gmail.com>: > Anyone help? > > > 2013/10/30 小宇 <mocking...@gmail.com> > >> Hi All, >> >> why not provide CreateTopic and DeleteTopic api, we know when >> auto.create.topics.enable set true, kafka can auto create the topic, but >> the problem is it always take some time before we can lookup the topic in >> zookeeper, will this can be solved in the future version of kafka? >> >> Thanks! >> Best regards! >> -- Thanks, Viktor