conduktor.io ↗

KIP-17 — Add HighwaterMarkOffset to OffsetFetchResponse

Discussion ConsumerProtocol

KIP-17 proposes adding the high-watermark offset for each partition to the `OffsetFetchResponse`, enabling consumer lag calculation (HWM − committed offset) in a single RPC without issuing a separate `FetchRequest`. The only existing way to retrieve the HWM is to issue a `FetchRequest` for zero bytes, which is wasteful when no data consumption is intended.

Protocol Impact

Fetch · OffsetFetch

Details

AuthorGrant Henke
StatusDiscussion
WikiView on Apache Wiki
Created2015-03-25
Last Modified2015-03-25
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.