jolshan opened a new pull request #11104:
URL: https://github.com/apache/kafka/pull/11104


   The FetchSessionHandler had a small bug in the session build method where we 
did not consider building a session where no partitions were added and the 
session previously did not use topic IDs. (ie, it was relying on at least one 
partition being added to signify whether topic IDs were present)
   
   Due to this, we could send forgotten partitions with the zero UUID. This 
would always result in an exception and closed session.
   
   This PR fixes the logic to check that any forgotten partitions have topic 
IDs. There is also a test added for the empty session situation when topic IDs 
are used and when topic names are used.
   
   ### 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