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

   Some of the `LeaderEndpoint` interface methods used a tuple of `(Int, Long)` 
as return value to represent epoch & offset. In this PR, I have replaced those 
occcurences with the existing `OffsetAndEpoch` type. This should hopefully 
improve readability, and eliminate the chances of developer confusing offset 
with epoch at the call site or return site.


-- 
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