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

ConsumerOffsetChecker does not deal with hostnames published in zookeeper

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
        jjkoshy Joel Koshy added a comment -

        Committed.

        Show
        jjkoshy Joel Koshy added a comment - Committed.
        Hide
        jjkoshy 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
        jjkoshy 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.

          People

          • Assignee:
            Unassigned
            Reporter:
            bob.cotton@gmail.com Bob Cotton
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development