Kafka
  1. Kafka
  2. KAFKA-1123

Broker IPv6 addresses parsed incorrectly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.0
    • Component/s: producer
    • Labels:

      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.

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

        Activity

          People

          • Assignee:
            Krzysztof Szafrański
            Reporter:
            Andrew Otto
            Reviewer:
            Jun Rao
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development