Unless you are on 0.8.1, your JMX query object name should
be 'kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec'
By default the above name should give you an all-topics count, but you can
also request it per-topic by using "topic=", for ex.:
Hi,
I enabled imx on kafka brokers by adding
KAFKA_JMX_OPTS= KAFKA_JMX_OPTS="
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=
-Djava.net.preferIPv4Stack=true “
However, when I use