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

Ismael Juma commented on KAFKA-2842:
------------------------------------

I think this is intentional because of RFC952:

<hname> ::= <name>*["."<name>]
<name>  ::= <let>[*[<let-or-digit-or-hyphen>]<let-or-digit>]
https://tools.ietf.org/html/rfc952

> 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