You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Sean Quah (Jira)" <ji...@apache.org> on 2026/03/07 03:24:00 UTC
[jira] [Created] (KAFKA-20271) Initialize assignment epoch to -1 when there is no assignment yet
Sean Quah created KAFKA-20271:
---------------------------------
Summary: Initialize assignment epoch to -1 when there is no assignment yet
Key: KAFKA-20271
URL: https://issues.apache.org/jira/browse/KAFKA-20271
Project: Kafka
Issue Type: Sub-task
Components: group-coordinator
Reporter: Sean Quah
When creating a group, the assignment epoch is initialized to 0.
When tombstoning a group, the assignment epoch is set to -1.
Look into whether we can use -1 for both.
Some tests fail when initializing the assignment epoch to -1:
* DescribeGroup tests fail because the assignment epoch is -1 instead of 0.
* ConsumerGroup state tests fail because the consumer group enters ASSIGNING because the group epoch (0) is greater than the assignment epoch (-1).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)