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:43:34 UTC

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

    [ https://issues.apache.org/jira/browse/KAFKA-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14269841#comment-14269841 ] 

Aditya Auradkar commented on KAFKA-1848:
----------------------------------------

I've asked Guozhang to assign the ticket to me.

> 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)