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
Details
| Author | Grant Henke |
| Status | Discussion |
| Wiki | View on Apache Wiki |
| Created | 2015-03-25 |
| Last Modified | 2015-03-25 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.