Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2842

BrokerEndPoint regex does't support hostname with _

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Sachin Sachin Pasalkar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: