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

   During online migration, there could be ConsumerGroup that has members that 
uses the classic protocol. In the current implementation, `STALE_MEMBER_EPOCH` 
could be thrown in ConsumerGroup offset fetch/commit validation but it's not 
supported by the classic protocol. Thus this patch changed 
`ConsumerGroup#validateOffsetCommit` to ensure  compatibility.
   
   There's no need to change `ConsumerGroup#validateOffsetFetch` because the 
member id and member epoch are always empty and -1 in the classic protocol, so 
the offset fetch request is always valid.
   
   ### 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: [email protected]

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

Reply via email to