squah-confluent opened a new pull request, #21700:
URL: https://github.com/apache/kafka/pull/21700

   Once assignment offload is implemented, newly created groups may not
   have their first assignment at epoch 1 available yet. We cannot give the
   member an epoch of 0, since it is reserved for new members joining a
   group. The new member's epoch must be greater than 0 and less than the
   group epoch.
   
   To resolve this, we initialize groups at epoch 1 with target assignment
   epoch 1. Epoch 1 contains an empty assignment and the first computed
   assignment will have epoch 2. Members joining a new group will reconcile
   towards epoch 1 while waiting for epoch 2's assignment.
   
   Streams groups already start group epochs at 2. We update streams groups
   to use the same approach as consumer and share groups.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to