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)