JimmyWang6 commented on PR #20246:
URL: https://github.com/apache/kafka/pull/20246#issuecomment-3126433797

   Hi @apoorvmittal10, I've opened a draft PR to initiate a discussion about 
KIP-19020.
   In the current approach, when the maxFetchRecords limit is exceeded, we'll 
use `firstAcquiredOffset + maxFetchRecords - 1` to determine the offset instead 
of the batch's last offset. I've conducted local tests, and it appears to be 
work as expected.
   I wonder what's your opinion?


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