KIP-624 — Consolidate Offset Validation into Fetch Protocol
Discussion ProtocolBroker
Proposes making the `OffsetForLeaderEpoch` validation step optional (skippable) during follower log truncation so that followers that are already in sync can skip the round-trip to the leader. The `OffsetForLeaderEpoch` RPC is sent unconditionally on follower startup even when the follower's epoch already matches the leader, adding unnecessary latency to the catch-up path.
Details
| Author | Boyang Chen |
| Status | Discussion |
| Wiki | View on Apache Wiki |
| Created | 2020-06-13 |
| Last Modified | 2020-06-13 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.