In 0.7, you can use zkclient or the zookeeper client library to query the
following zookeeper path to get a number of partitions for a topic -

get /brokers/topics/[topic]/[broker-id]

This will give you # of partitions/broker, you can then add up this value
across all brokers.

On Wed, Feb 27, 2013 at 4:32 AM, sourabh chaki <[EMAIL PROTECTED]>wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB