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

Consolidate class kafka.cluster.BrokerEndPoint and kafka.cluster.EndPoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      These two classes are serving similar purposes and can be consolidated. Also as sasakitoa suggested we can remove their "uriParseExp" variables but use (a possibly modified)

      private static final Pattern HOST_PORT_PATTERN = Pattern.compile(".*?\\[?([0-9a-zA-Z\\-.:]*)\\]?:([0-9]+)");
      

      in org.apache.kafka.common.utils.Utils instead.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guozhang Guozhang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: