conduktor.io ↗

max.incremental.fetch.session.cache.slots — Kafka Broker Configuration

The maximum number of total incremental fetch sessions that we will maintain. FetchSessionCache is sharded into 8 shards and the limit is equally divided among all shards

Description

The maximum number of total incremental fetch sessions that we will maintain. FetchSessionCache is sharded into 8 shards and the limit is equally divided among all shards. Sessions are allocated to each shard in round-robin. Only entries within a shard are considered eligible for eviction.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Broker1.11000
Broker2.01000
Broker2.11000
Broker2.21000
Broker2.31000
Broker2.41000
Broker2.51000
Broker2.61000
Broker2.71000
Broker2.81000
Broker3.01000
Broker3.11000
Broker3.21000
Broker3.31000
Broker3.41000
Broker3.51000
Broker3.61000
Broker3.71000
Broker3.81000
Broker3.91000
Broker4.01000
Broker4.11000
Broker4.21000
Broker4.31000
Broker4.41000

Tuning Recommendation

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

ProfileProposalRationale and tradeoff
broker / throughput2000Sizes the incremental fetch session cache used to retain fetch context.

Tradeoff: More slots require memory. Extra capacity is useful only if session churn or eviction is a problem.

Reference · 2026-10-27
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.