Skip to content

KAFKA-14915: allow read remote storage for multiple partitions in one fetchRequest #20045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from

Conversation

showuon
Copy link
Member

@showuon showuon commented Jun 26, 2025

This PR enables reading remote storage for multiple partitions in one
fetchRequest. The main changes are:

  1. In DelayedRemoteFetch, we accept multiple remoteFetchTasks and
    other metadata now.
  2. In DelayedRemoteFetch, we'll wait until all remoteFetch done,
    either succeeded or failed.
  3. In ReplicaManager#fetchMessage, we'll create one
    DelayedRemoteFetch and pass multiple remoteFetch metadata to it, and
    watch all of them.
  4. Add tests

@github-actions github-actions bot added core Kafka Broker storage Pull requests that target the storage module tiered-storage Related to the Tiered Storage feature labels Jun 26, 2025
@showuon
Copy link
Member Author

showuon commented Jun 26, 2025

@satishd @kamalcph , please take a look. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Kafka Broker storage Pull requests that target the storage module tiered-storage Related to the Tiered Storage feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant