Kafka-0.8.0-beta1-src is having doublequotes in the start of Objects name obtained from jConsole.Due to this I am not able to use jmxTrans to monitor my kafka-0.8.0 cluster.
Please help in solving the issue.
Regards Monika Garg Associate Software Engineer Impetus Infotech (India) Pvt. Ltd. D-40, Sector-59, Noida - 201307, UP (O) +91-120-4363300 x 2858 (M) +91-8588075977 www.impetus.com<http://www.impetus.com/> ________________________________ NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.
I had the same problem and could not use jmxterm to inspect jmx beans due to this issue. But we tried escaping the quotes and it works with our internal monitoring system as well as JmxTool that ships with Kafka.
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!
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