Kafka, mail # user - Re: Kafka-0.8.0-beta1-src Has ObjectName starting with Double Quotes - 2013-09-07, 03:45
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Kafka-0.8.0-beta1-src Has ObjectName starting with Double Quotes
Hi Monika,

For Kafka-0.8.0 you will have to register beans with JmxTransServer like
this:

         Server kafkaJMXServer = new Server("locahost","9999");
         Query byteInQuery = new Query();
*
byteInQuery.setObj("\"kafka.server\":type=\"BrokerTopicMetrics\",name=\"AllTopicsBytesInPerSec\"");
*
        byteInQuery.addAttr("Count");
        byteInQuery.addAttr("MeanRate");
        kafkaJMXServer.addQuery(byteInQuery);

Hope this will help !!

On Thu, Sep 5, 2013 at 9:06 AM, Jun Rao <[EMAIL PROTECTED]> wrote:
*Thanks & Regards*
*Hanish Bansal*

 
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