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

Sean Quah resolved KAFKA-20271.
-------------------------------
    Resolution: Won't Fix

Closed, since this is not the right thing to do. As of KAFKA-20268, we want new 
groups to start with a valid, empty assignment at assignment epoch 1.

> 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
>            Priority: Major
>
> 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)

Reply via email to