You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2021/10/27 09:29:00 UTC

[jira] [Commented] (KAFKA-13406) Cooperative sticky assignor got stuck due to assignment validation failed

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

Luke Chen commented on KAFKA-13406:
-----------------------------------

[~Andy_Dufresne], I've opened a WIP PR with the fix here: [https://github.com/apache/kafka/pull/11439.] Could you please help check if this change fixes your issue? Thank you.

> Cooperative sticky assignor got stuck due to assignment validation failed
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-13406
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13406
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 3.0.0
>            Reporter: Luke Chen
>            Assignee: Luke Chen
>            Priority: Major
>
> We'll do validateCooperativeAssignment for cooperative assignor, where we validate if there are previously owned partitions directly transfer to other consumers without "revoke" step. However, the "ownedPartition" in subscription might contain out-of-dated data, which might cause the validation always failure.
> We should consider the short-term fix it by disabling validateCooperationAssignment for built-in cooperativeStickyAssignor because we've already consider the generation in the assignor, and discard the old generation ownedPartition if any.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)