[ https://issues.apache.org/jira/browse/KAFKA-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sachin Pasalkar updated KAFKA-2842: ----------------------------------- Comment: was deleted (was: I just saw the console-consumer & simpleConsumer works with '_' in hostname? Shouldn't this be consistent?) > BrokerEndPoint regex does't support hostname with _ > --------------------------------------------------- > > Key: KAFKA-2842 > URL: https://issues.apache.org/jira/browse/KAFKA-2842 > Project: Kafka > Issue Type: Bug > Reporter: Sachin Pasalkar > Priority: Minor > > If you look at the code of BrokerEndPoint.scala, it has regex uriParseExp. > This regex is used for validation of brokers. However, it fails to validate > hostname with _ in it. e.g. adfs_212:9092 -- This message was sent by Atlassian JIRA (v6.3.4#6332)