You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Sachin Pasalkar (JIRA)" <ji...@apache.org> on 2015/11/24 05:52:10 UTC

[jira] [Issue Comment Deleted] (KAFKA-2842) BrokerEndPoint regex does't support hostname with _

     [ 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)