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)

Reply via email to