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

BrokerEndPoint regex does't support hostname with _

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: