conduktor.io ↗

max.poll.interval.ms — Kafka Consumer Configuration

The maximum delay between invocations of poll() when using consumer group management. This places an upper bound on the amount of time that the consumer can be idle before fetching more records

Description

The maximum delay between invocations of poll() when using consumer group management. This places an upper bound on the amount of time that the consumer can be idle before fetching more records. If poll() is not called before expiration of this timeout, then the consumer is considered failed and the group will rebalance in order to reassign the partitions to another member. For consumers using a non-null group.instance.id which reach this timeout, partitions will not be immediately reassigned. Instead, the consumer will stop sending heartbeats and partitions will be reassigned after expiration of the session timeout (defined by the client config session.timeout.ms if using the Classic rebalance protocol, or by the broker config group.consumer.session.timeout.ms if using the Consumer protocol). This mirrors the behavior of a static consumer which has shutdown. In the Classic consumer, connections.max.idle.ms should be set to a value greater than or equal to this timeout to avoid closing the connection to the group coordinator during an ongoing rebalance. This is particularly important in large groups, where a rebalance may take longer to complete while the coordinator waits for all members to rejoin.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Consumer0.10.1300000
Consumer0.10.2300000
Consumer0.11.0300000
Consumer1.0300000
Consumer1.1300000
Consumer2.0300000
Consumer2.1300000
Consumer2.2300000
Consumer2.3300000
Consumer2.4300000
Consumer2.5300000
Consumer2.6300000 (5 minutes)
Consumer2.7300000 (5 minutes)
Consumer2.8300000 (5 minutes)
Consumer3.0300000 (5 minutes)
Consumer3.1300000 (5 minutes)
Consumer3.2300000 (5 minutes)
Consumer3.3300000 (5 minutes)
Consumer3.4300000 (5 minutes)
Consumer3.5300000 (5 minutes)
Consumer3.6300000 (5 minutes)
Consumer3.7300000 (5 minutes)
Consumer3.8300000 (5 minutes)
Consumer3.9300000 (5 minutes)
Consumer4.0300000 (5 minutes)
Consumer4.1300000 (5 minutes)
Consumer4.2300000 (5 minutes)
Consumer4.3300000 (5 minutes)
Consumer4.4300000 (5 minutes)

Tuning Recommendation

Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.

ProfileProposalRationale and tradeoff
consumer / throughput600000Bounds the interval between consumer poll calls for group liveness. Size it for processing and downstream tail latency.

Tradeoff: A longer interval delays detecting a stuck application. Static membership changes when partitions are reassigned after a poll timeout.

Reference · 2026-10-27
consumer / latency30000Bounds the interval between consumer poll calls for group liveness. Size it for processing and downstream tail latency.

Tradeoff: A longer interval delays detecting a stuck application. Static membership changes when partitions are reassigned after a poll timeout.

Reference · 2026-10-27
consumer / durability300000Bounds the interval between consumer poll calls for group liveness. Size it for processing and downstream tail latency.

Tradeoff: A longer interval delays detecting a stuck application. Static membership changes when partitions are reassigned after a poll timeout.

Reference · 2026-10-27

Related Configs

max.poll.records · session.timeout.ms · heartbeat.interval.ms · partition.assignment.strategy · group.instance.id

Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.