conduktor.io ↗

KIP-1199 — Add max record count limit to FetchRequest

Discussion ConsumerProtocol

Proposes adding a MaxRecords field to FetchRequest and a corresponding fetch.max.message.count consumer config to limit the number of messages returned per fetch regardless of byte size. Kafka consumers can only bound fetch size in bytes; workloads with rate-limiting requirements based on message count (common in downstream processing pipelines) must over-fetch and discard records, wasting bandwidth and increasing offset management complexity.

Protocol Impact

Fetch · ShareFetch

Details

AuthorCorki Tse
StatusDiscussion
JIRAKAFKA-19554
WikiView on Apache Wiki
Created2025-07-29
Last Modified2025-07-29
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.