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

Broker IPv6 addresses parsed incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2.0
    • 0.8.2.0
    • producer

    Description

      It seems that broker addresses are parsed incorrectly when IPv6 addresses are supplied. IPv6 addresses have colons in them, and Kafka seems to be interpreting the first : as the address:port separator.

      I have only tried this with the console-producer --broker-list option, so I don't know if this affects anything deeper than the CLI.

      Attachments

        1. KAFKA-1123.patch
          16 kB
          Krzysztof Szafrański
        2. KAFKA-1123_v2.patch
          23 kB
          Krzysztof Szafrański
        3. KAFKA-1123_v3.patch
          25 kB
          Krzysztof Szafrański
        4. KAFKA-1123_v4.patch
          24 kB
          Krzysztof Szafrański

        Activity

          People

            kszafran Krzysztof Szafrański
            ottomata Andrew Otto
            Jun Rao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: