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

Checking shutdown during each iteration of ZookeeperConsumerConnector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None
    • None

    Description

      In ZookeeperConsumerConnector the syncedRebalance() method checks the isShuttingDown flag before it triggers a rebalance. However, it does not recheck the same value between successive retries which is possible if the consumer is shutting down.

      This acquires the rebalanceLock and blocks shutdown from completing.

      Attachments

        Activity

          People

            aauradkar Aditya Auradkar
            aauradkar Aditya Auradkar
            Guozhang Wang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: