I am using kafka 0.8 version and very much new to it.
kafka 0.8
I want to know the list of topics created in kafka server along with it\'s metadata.
kafka server
I think this is the best way:
ZkClient zkClient = new ZkClient("zkHost:zkPort"); List topics = JavaConversions.asJavaList(ZkUtils.getAllTopics(zkClient));