kafka/gradle
Apoorv Mittal 48a506b7b8
KAFKA-18522: Slice records for share fetch (#18804)
The PR handles slicing of fetched records based on acquire response for
share fetch. There could be additional bytes fetched from log but
acquired offsets can be a subset, typically with `max fetch records`
configuration. Rather sending additional bytes of fetched data to client
we should slice the file and wire only needed batches.

Note: If the acquired offsets are within a batch then we need to send
the entire batch within the file record. Hence rather checking for
individual batches, PR finds the first and last acquired offset, and
trims the file for all batches between (inclusive) these two offsets.

Reviewers: Christo Lolov <lolovc@amazon.com>, Andrew Schofield <aschofield@confluent.io>, Jun Rao <junrao@gmail.com>
2025-02-24 09:55:24 -08:00
..
resources KAFKA-18050 Upgrade the checkstyle version to 10.20.2 (#17999) 2024-12-05 10:59:18 +08:00
wrapper KAFKA-17974 Upgrade gradle from 8.10 to 8.10.2 (#17734) 2024-11-11 09:14:04 +08:00
dependencies.gradle KAFKA-18773 Migrate the log4j1 config to log4j 2 for native image and README (#18872) 2025-02-19 00:48:46 +08:00
openapi.template KAFKA-13780: Generate OpenAPI file for Connect REST API (#12067) 2022-06-10 11:35:22 +02:00
spotbugs-exclude.xml KAFKA-18522: Slice records for share fetch (#18804) 2025-02-24 09:55:24 -08:00