I am reading the "Kafka data structures in Zookeeper" (https://cwiki.apache.org/KAFKA/kafka-data-structures-in-zookeeper.html) document and trying to figure out how to view topic registration information from zookeeper. Are these information stored in the zookeeper snapshot file in the hard drive? How can I view the topic registration info and partition state information from my running kafka server in 0.8?
I am only running one kafka broker and one zookeeper in the same server.
You can download zookeeper, and use a client as zookeeper/bin/zkCli.sh -server zkHost:zkPort. Then you can use the ls and get functions to list the structure hierarchy or to see the contents at each of the nodes in the hierarchy respectively. The data structures described in the wiki can be viewed using get.
On 3/1/13 3:51 AM, "Jason Huang" <[EMAIL PROTECTED]> wrote:
On Fri, Mar 1, 2013 at 1:37 PM, Neha Narkhede <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext