conduktor.io ↗

KIP-41 — KafkaConsumer Max Records

Accepted Kafka 1.0 (source observation; full implementation unconfirmed) Consumer

KIP-41 introduces the `max.poll.records` configuration for `KafkaConsumer`, capping the number of records returned by a single `poll()` call. Without this limit, `poll()` returns all buffered records up to `fetch.max.bytes`, which can be arbitrarily large, making it impossible to bound per-poll processing time and causing consumer poll timeout violations when downstream processing is slow.

Details

AuthorJason Gustafson
StatusAccepted
Kafka Version1.0 (source observation; full implementation unconfirmed)
JIRAKAFKA-2986
WikiView on Apache Wiki
Created2015-12-22
Last Modified2016-01-20
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.