[ https://issues.apache.org/jira/browse/KAFKA-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271758#comment-14271758 ]
Jay Kreps commented on KAFKA-1723: ---------------------------------- Yeah, I'm not really sure whether to just leave it or to maybe try to replace the map with a class with some helper methods: Something like {code} class Metrics implements Iterable<Metric> { public Metric getByFullName(MetricName name); public List<Metric> getByName(String name); public List<Metric> getByNameAndGroup(String name, String group); } {code} > make the metrics name in new producer more standard > --------------------------------------------------- > > Key: KAFKA-1723 > URL: https://issues.apache.org/jira/browse/KAFKA-1723 > Project: Kafka > Issue Type: Sub-task > Components: clients > Affects Versions: 0.8.2 > Reporter: Jun Rao > Assignee: Manikumar Reddy > Priority: Blocker > Fix For: 0.8.2 > > Attachments: KAFKA-1723.patch, KAFKA-1723_2015-01-08_21:41:13.patch, > KAFKA-1723_2015-01-08_22:02:22.patch, KAFKA-1723_2015-01-09_14:24:18.patch, > KAFKA-1723_2015-01-09_23:43:22.patch > > > The jmx name in the new producer looks like the following: > kafka.producer.myclientid:type=mytopic > However, this can be ambiguous since we allow "." in client id and topic. -- This message was sent by Atlassian JIRA (v6.3.4#6332)