rhauch opened a new pull request #10158:
URL: https://github.com/apache/kafka/pull/10158


   Refactored the KafkaBasedLog logic to read end offsets into a separate 
method to make it easier to test. Also changed the TopicAdmin.endOffsets method 
to throw the original UnsupportedVersionException, LeaderNotAvailableException, 
and TimeoutException rather than wrapping, to better conform with the consumer 
method and how the KafkaBasedLog retries those exceptions.
   
   Added new tests to verify various scenarios and errors.
   
   ### 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.

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


Reply via email to