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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        3m 23s 1 Bob Cotton 05/Oct/12 22:20
        Patch Available Patch Available Resolved Resolved
        3d 1h 59m 1 Joel Koshy 09/Oct/12 00:19
        Resolved Resolved Closed Closed
        2s 1 Joel Koshy 09/Oct/12 00:19
        Joel Koshy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Joel Koshy made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Joel Koshy added a comment -

        Committed.

        Show
        Joel Koshy added a comment - Committed.
        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.
        Bob Cotton made changes -
        Fix Version/s 0.7.2 [ 12322475 ]
        Bob Cotton made changes -
        Attachment KAFKA-549-hostnames-in-zookeeper.diff [ 12548048 ]
        Bob Cotton made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Labels patch
        Fix Version/s 0.7.2 [ 12322475 ]
        Bob Cotton created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development