You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Aditya Auradkar (JIRA)" <ji...@apache.org> on 2015/01/08 19:41:34 UTC

[jira] [Created] (KAFKA-1848) Checking shutdown during each iteration of ZookeeperConsumerConnector

Aditya Auradkar created KAFKA-1848:
--------------------------------------

             Summary: Checking shutdown during each iteration of ZookeeperConsumerConnector
                 Key: KAFKA-1848
                 URL: https://issues.apache.org/jira/browse/KAFKA-1848
             Project: Kafka
          Issue Type: Bug
            Reporter: Aditya Auradkar
             Fix For: 0.9.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)