[ https://issues.apache.org/jira/browse/KAFKA-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Tretyakov updated KAFKA-1481: -------------------------------------- Labels: patch (was: ) Affects Version/s: 0.8.1.1 Status: Patch Available (was: Open) I've made some modifications (cloned 0.8.1 branch), now Kafka use "|" instead of "-" or "_" in JMX Bean names where they prevented make parsing (I didn't replace all '-' and '_', just replaced in places which were critical for parsing point of view). I've also noticed that these names Kafka uses not only for JMX Bean names, but for directory names and other things (my changes can be dangerous by this reason). I've tested Broker/Producer/Consumer locally, it works, but will be perfect if somebody check everything I am not 100% sure about my changes (I am new in Kafka code). Best Regards, Vladimir. > Stop using dashes AND underscores as separators in MBean names > -------------------------------------------------------------- > > Key: KAFKA-1481 > URL: https://issues.apache.org/jira/browse/KAFKA-1481 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.8.1.1 > Reporter: Otis Gospodnetic > Labels: patch > Fix For: 0.8.2 > > Attachments: KAFKA-1481_2014-06-06_13-06-35.patch > > > MBeans should not use dashes or underscores as separators because these > characters are allowed in hostnames, topics, group and consumer IDs, etc., > and these are embedded in MBeans names making it impossible to parse out > individual bits from MBeans. > Perhaps a pipe character should be used to avoid the conflict. > This looks like a major blocker because it means nobody can write Kafka 0.8.x > monitoring tools unless they are doing it for themselves AND do not use > dashes AND do not use underscores. > See: http://search-hadoop.com/m/4TaT4lonIW -- This message was sent by Atlassian JIRA (v6.2#6252)