dajac opened a new pull request, #14321:
URL: https://github.com/apache/kafka/pull/14321

   This patch adds the MemberId and the MemberEpoch fields to the 
OffsetFetchRequest. Those fields will be populated when the new consumer group 
protocol is used to ensure that the member fetching the offset has the correct 
member id and epoch. If it does not, UNKNOWN_MEMBER_ID or STALE_MEMBER_EPOCH 
are returned to the client.
   
   Our initial idea was to implement the same for the old protocol. The field 
is called GenerationIdOrMemberEpoch in KIP-848 to materialize this. As a second 
though, I think that we should only do it for the new protocol. The effort to 
implement it in the old protocol is not worth it in my opinion.
   
   This patch adds unit test to test the new code. I will add integration tests 
in a separate PR.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to