David Jacot created KAFKA-20442:
-----------------------------------
Summary: Consumer/Share/Streams group assignment epoch is not
updated when the last member leaves
Key: KAFKA-20442
URL: https://issues.apache.org/jira/browse/KAFKA-20442
Project: Kafka
Issue Type: Bug
Affects Versions: 4.2.0, 4.1.0, 4.0.0, 4.3.0
Reporter: David Jacot
Assignee: David Jacot
When the last member of a consumer, share, or streams group leaves, the group
epoch is bumped but no new target assignment is computed. This leaves the group
in an inconsistent state where groupEpoch > assignmentEpocheven though the
group is empty. The fix is to write a target assignment metadata record when
the fence operation results in an empty group so that the assignment epoch
catches up to the group epoch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)