You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/03/21 01:02:30 UTC
[jira] [Created] (KAFKA-9741) ConsumerCoordinator must update
ConsumerGroupMetadata before calling onPartitionsRevoked()
Matthias J. Sax created KAFKA-9741:
--------------------------------------
Summary: 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
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)