xiaodongdu opened a new pull request #8691:
URL: https://github.com/apache/kafka/pull/8691


   Implement KIP-606, add metadata context to MetricsReporter:
   Added a new api to MetricsReporter to allow client to expose additional 
metadata fields to reporter plugin. Added an interface MetricsContext to 
encapsulate metadata.
   Deprecated JmexReporter(String prefix) constructor. The prefix will be 
passed to the reporter via MetricsContext.
   Replaced existing usage of JmxReporter with the default ImxReporter and pass 
JMX prefix to MetricsContext using _namespace as key.
   From Kafka broker, populate MetricsContext with: kafka.cluster.id and 
kafka.nroker.id
   From Connect, populate MetricsContext with: connect.kafka.cluster.id, 
connect.group.id
   
   Committer Checklist (excluded from commit message)
    Verify design and implementation
    Verify test coverage and CI build status
    Verify documentation (including upgrade notes)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to