kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guozhang Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-4693) Consumer subscription change during rebalance causes exception
Date Sat, 23 Sep 2017 04:28:19 GMT

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

Guozhang Wang updated KAFKA-4693:
---------------------------------
    Fix Version/s:     (was: 1.0.0)
                   1.1.0

> Consumer subscription change during rebalance causes exception
> --------------------------------------------------------------
>
>                 Key: KAFKA-4693
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4693
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>            Reporter: Jason Gustafson
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> After every rebalance, the consumer validates that the assignment received contains only
partitions from topics that were subscribed. If not, then we raise an exception to the user.
It is possible for a wakeup or an interrupt to leave the consumer with a rebalance in progress
(e.g. with a JoinGroup to the coordinator in-flight). If the user then changes the topic subscription,
then this validation upon completion of the rebalance will fail. We should probably detect
the subscription change, eat the exception, and request another rebalance. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message