Kafka, mail # user - Re: Kafka-0.8.0-beta1-src Has ObjectName starting with Double Quotes - 2013-09-07, 03:45
 Search Hadoop and all its subprojects:

Switch to Plain View
+
Monika Garg 2013-09-04, 14:16
+
Neha Narkhede 2013-09-04, 14:30
+
Rajasekar Elango 2013-09-04, 14:34
+
Jun Rao 2013-09-05, 03:37
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