[ https://issues.apache.org/jira/browse/KAFKA-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526932#comment-14526932 ]
Neha Narkhede commented on KAFKA-2156: -------------------------------------- [~sandris] KM = Kafka Metrics (org.apache.kafka.common.metrics) :) Worth considering supporting this directly on Kafka Metrics. > Possibility to plug in custom MetricRegistry > -------------------------------------------- > > Key: KAFKA-2156 > URL: https://issues.apache.org/jira/browse/KAFKA-2156 > Project: Kafka > Issue Type: Improvement > Components: producer > Affects Versions: 0.8.1.2 > Reporter: Andras Sereny > Assignee: Jun Rao > > The trait KafkaMetricsGroup refers to Metrics.defaultRegistry() throughout. > It would be nice to be able to inject any MetricsRegistry instead of the > default one. > (My usecase is that I'd like to channel Kafka metrics into our application's > metrics system, for which I'd need custom implementations of > com.yammer.metrics.core.Metric.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)