[ 
https://issues.apache.org/jira/browse/KAFKA-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021537#comment-15021537
 ] 

Sachin Pasalkar commented on KAFKA-2842:
----------------------------------------

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)

Reply via email to