You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/03/21 01:02:30 UTC

[jira] [Assigned] (KAFKA-9741) ConsumerCoordinator must update ConsumerGroupMetadata before calling onPartitionsRevoked()

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

Matthias J. Sax reassigned KAFKA-9741:
--------------------------------------

    Assignee: Matthias J. Sax

> ConsumerCoordinator must update ConsumerGroupMetadata before calling onPartitionsRevoked()
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-9741
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9741
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>    Affects Versions: 2.5.0
>            Reporter: Matthias J. Sax
>            Assignee: Matthias J. Sax
>            Priority: Critical
>
> If partitions are revoked, an application may want to commit the current offsets.
> Using transactions, committing offsets would be done via the producer passing in the current `ConsumerGroupMetadata`. If the metadata is not updates before the callback, the call to `commitTransaction(...)` fails as and old generationId would be used.



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