-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Broker Metric not getting updated #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You need to set JMX_PORT for your broker before starting it. |
I did setup the JMX port but still not getting updated |
It is the same to me,and No JMX Port Error was disappeared after I add JMX port. |
I am also unable to have metrics updated. So I browsed JMX metrics using my own Java program and found ObjectName is correct.
For example, it should be like this: If I use above invalid form, I am getting same error: "InstanceNotFoundException". |
Same problem here
|
@style95 what version of Java are you using and what version of Kafka? |
@ashishsoni @ystory @guangliangChen what version of Java are you using with Kafka? What version of Kafka are you running? |
Please see below java version "1.7.0_79" Kafka kafka_2.9.1-0.8.2.1 Ashish |
@patelh kafka_2.8.0-0.8.1.1 config Thank you. :) |
java version "1.7.0_79" kafka_2.9.2-0.8.1.1 running on CenOS 6.5 Thank you : ) Dongkyoung |
I also can't update the metrics data. |
@rycoxiao what version of Java and Kafka are you using? |
Going to address this by getting it working with OpenJDK. |
@patelh java: kafka: |
same here, I am have the following setup kafka 2.10 0.8.1.1 java version "1.7.0_75" |
I also can't get metrics updating, and can't get any error in server.log centos 6.2 x86_64 |
I am facing the same issue, no error logs java version "1.8.0_45" |
I've got the same issue, also with no error logs, has anyone made any progress on solving this? I intend to tackle it asap. kafka 2.9.2-0.8.1.1 |
We use Oracle JDK and collecting JMX metrics seems to work fine. This may be an issue with OpenJDK. As @style95 pointed out, the JMX entity we query for seems to be incorrect for OpenJDK. The fix would just be detecting which JDK is being run and select the right format based on that. I haven't had time to do this yet. |
@patelh what's version? |
same issue here. kafka_2.9.2-0.8.1.1 on CentOS release 6.6 (Final) |
Looks like mbean names changed between 0.8.1.1 and 0.8.2.* and we are currently using the 0.8.2 names. |
Can someone try build from this branch and see if they get broker metrics with kafka 0.8.1.1 : #83 |
@patelh Thanks. It works for me. |
same problem here java version: kafka version: linux version: |
I've merged changes to allow broker metrics for kafka 0.8.1.1 and 0.8.2.*. Please build off master. |
Messages in /sec 0.00 0.00 0.00 0.00
Bytes in /sec 0.00 0.00 0.00 0.00
Bytes out /sec 0.00 0.00 0.00 0.00
Bytes rejected /sec 0.00 0.00 0.00 0.00
Failed fetch request /sec 0.00 0.00 0.00 0.00
Failed produce request /sec 0.00 0.00 0.00 0.00
The text was updated successfully, but these errors were encountered: