Parkerhiphop opened a new pull request, #24400: URL: https://github.com/apache/kafka/pull/24400
Backport of https://github.com/apache/kafka/pull/24239 to the 4.4 branch, prepared from source commit 9e03d32263 before the original PR is merged. Replace eager record-batch iteration with closeable streaming iteration and return a `CloseableIterator` from `Records.records()` to avoid collecting compressed v2 batches into intermediate lists. This draft adapts iterator callers to the 4.4 code and retains its existing coordinator logic and tests. Tests for features absent from 4.4 are not introduced. The source PR's three test-iteration simplifications are included. The source PR is still under review; this draft is for reviewing release-branch differences and will need to follow any further changes there. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
