Kafka
  1. Kafka
  2. KAFKA-549

ConsumerOffsetChecker does not deal with hostnames published in zookeeper

    Details

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

      Description

      When configuring the broker using the 'hostname=' property in server.properties to publish hostnames in zookeeper, the ConsumerOffsetChecker can't parse the hostname from the zknode

      The attached patch changes the host regexp to match hostnames as well as ip addresses.

        Activity

        Hide
        Joel Koshy added a comment -

        +1

        Thanks for the patch. I'll get this checked-in to both trunk/0.8 and close after that.

        Show
        Joel Koshy added a comment - +1 Thanks for the patch. I'll get this checked-in to both trunk/0.8 and close after that.
        Hide
        Joel Koshy added a comment -

        Committed.

        Show
        Joel Koshy added a comment - Committed.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bob Cotton
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development