Skip to content

KAFKA-18477 Remove usage of OffsetForLeaderEpochRequest in AbstractFetcherThread - #23318

Open
m1a2st wants to merge 3 commits into
apache:trunkfrom
m1a2st:KAFKA-18477
Open

KAFKA-18477 Remove usage of OffsetForLeaderEpochRequest in AbstractFetcherThread#23318
m1a2st wants to merge 3 commits into
apache:trunkfrom
m1a2st:KAFKA-18477

Conversation

@m1a2st

@m1a2st m1a2st commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Since the 4.0 baseline MetadataVersion is 3.0, all brokers support
truncation on fetch (Fetch v12+ with LastFetchedEpoch and
DivergingEpoch). Fetcher threads can therefore skip the separate
OffsetsForLeaderEpochRequest and detect divergence directly from fetch
responses.

@github-actions github-actions Bot added core Kafka Broker triage PRs from the community labels Aug 31, 2026
@m1a2st m1a2st changed the title KAFKA-18477 remove usage of OffsetForLeaderEpochRequest in AbstractFetcherThread (WIP) KAFKA-18477 Remove usage of OffsetForLeaderEpochRequest in AbstractFetcherThread (WIP) Aug 31, 2026
@m1a2st m1a2st changed the title KAFKA-18477 Remove usage of OffsetForLeaderEpochRequest in AbstractFetcherThread (WIP) KAFKA-18477 Remove usage of OffsetForLeaderEpochRequest in AbstractFetcherThread Sep 1, 2026
@m1a2st
m1a2st requested review from chia7712 and junrao September 3, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant