-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add metrics #32
Comments
This would be great. Coming from JMX may be better since I'm not sure if the REST Proxy is part of the Apache Kafka distribution or just confluence. |
OK I will open a pull request to discuss implementation details. |
@Mogztter Thanks for the contrib! We are using it for our cluster. Consumer offset watcher would be nice addition too ;) |
You're welcome! I'm glad that you find it useful :)
|
I found out that Kafka (core) have an utility class to retrieve consumer offset: https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala I will do some testing to integrate this utility class 😄 |
can be closed, or? JXM Metrics are available now in KM ... |
Yes I think we can close this issue now. @patelh Wdyt ? |
Sure. |
I think it would be nice to have metrics/stats about Kafka server (message rate, byte in rate, byte out rate...)
AFAIK metrics/stats are not stored in Zookeeper (Ref: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+data+structures+in+Zookeeper). Would you consider a pull request that retrieve metrics from Kafka server ? I could use the Kafka REST Proxy, JMX or ... ?
A simpler solution might be to get the consumer offset from curator/zookeeper
/consumers/[groupId]/offsets/[topic]/[partitionId]
?Wdyt ?
The text was updated successfully, but these errors were encountered: