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 20:36:38 UTC

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

     [ https://issues.apache.org/jira/browse/KAFKA-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya Auradkar updated KAFKA-1848:
-----------------------------------
    Assignee: Aditya Auradkar

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