[
https://issues.apache.org/jira/browse/KAFKA-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14269866#comment-14269866
]
Guozhang Wang commented on KAFKA-1848:
--------------------------------------
Aditya, I have added you to the contributor list. You should be able to assign
this to yourself now.
> 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)