apoorvmittal10 opened a new pull request, #18459: URL: https://github.com/apache/kafka/pull/18459
The PR implements a way to divide acquired batches into batch size as desirable by client. The BatchSize is the soft limit and should allign the batches in response and cached state in broker at the log batch boundaries i.e. ``` say produce log batch is from 0-50, 51-100 for batch size from client - 60: then response will be 0-100 for batch size from client - 40: then response will be 0-50, 51-100 ``` This means that broker will not break the batches rather align them in response as per desirable batch size from client so complete batches are acknowledged which shall avoid offset based tracking on broker. ### 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