kafka/checkstyle
Satish Duggana 6f19730164
KAFKA-9579 Fetch implementation for records in the remote storage through a specific purgatory. (#13535)
This change includes
- Recognize the fetch requests with out of range local log offsets
- Add fetch implementation for the data lying in the range of [logStartOffset, localLogStartOffset]
- Add a new purgatory for async remote read requests which are served through a specific thread pool

We have an extended version of remote fetch that can fetch from multiple remote partitions in parallel, which we will raise as a followup PR.

A few tests for the newly introduced changes are added in this PR. There are some tests available for these scenarios in 2.8.x, refactoring with the trunk changes, will add them in followup PRs.

Other contributors:
Kamal Chandraprakash <kchandraprakash@uber.com> - Further improvements and adding a few tests
Luke Chen <showuon@gmail.com> - Added a few test cases for these changes.

PS: This functionality is pulled out from internal branches with other functionalities related to the feature in 2.8.x. The reason for not pulling all the changes as it makes the PR huge, and burdensome to review and it also needs other metrics, minor enhancements(including perf), and minor changes done for tests. So, we will try to have followup PRs to cover all those.

Reviewers: Jun Rao <junrao@gmail.com>, Alexandre Dupriez <alexandre.dupriez@gmail.com>, Divij Vaidya <diviv@amazon.com>,  Jorge Esteban Quilcate Otoya <quilcate.jorge@gmail.com>
2023-05-18 06:37:37 +05:30
..
.scalafmt.conf MINOR: Update Scalafmt to latest version (#12475) 2022-09-12 10:05:15 -04:00
checkstyle.xml KAFKA-14457; Controller metrics should only expose committed data (#12994) 2022-12-20 10:55:14 -08:00
import-control-core.xml KAFKA-14752: Kafka examples improvements - demo changes (#13517) 2023-05-12 10:39:12 +08:00
import-control-jmh-benchmarks.xml KAFKA-14735: Improve KRaft metadata image change performance at high … (#13280) 2023-04-17 17:52:28 -04:00
import-control-metadata.xml KAFKA-14859: SCRAM ZK to KRaft migration with dual write (#13628) 2023-05-01 09:56:04 -04:00
import-control-server-common.xml KAFKA-14735: Improve KRaft metadata image change performance at high … (#13280) 2023-04-17 17:52:28 -04:00
import-control.xml KAFKA-14500; [2/N] Rewrite GroupMetadata in Java (#13663) 2023-05-12 11:22:29 +02:00
java.header MINOR: improve license header check by providing head file instead of (prefix) header regex 2017-02-28 12:35:04 -08:00
suppressions.xml KAFKA-9579 Fetch implementation for records in the remote storage through a specific purgatory. (#13535) 2023-05-18 06:37:37 +05:30