Sean Quah created KAFKA-20268:
---------------------------------

             Summary: Start group epochs at 2
                 Key: KAFKA-20268
                 URL: https://issues.apache.org/jira/browse/KAFKA-20268
             Project: Kafka
          Issue Type: Sub-task
          Components: group-coordinator
            Reporter: Sean Quah
            Assignee: Sean Quah
             Fix For: 4.3.0


Members joining a new group must be given an epoch greater than 0, since epoch 
0 is reserved for new joining members. When assignment offload or initial 
rebalance delays are implemented, the initial assignment for a group will not 
be available immediately. Currently groups start at epoch 1, but we cannot move 
members to epoch 1 when they have not been reconciled to the epoch 1 assignment 
yet.

Instead, we can start group epochs at 2 and reserve epoch 1 to hold a special 
empty assignment. The initial rebalance delay for streams groups already does 
this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to