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

Kafka VersionDefault Value
1.11000
2.01000
2.11000
2.21000
2.31000
2.41000
2.51000
2.61000
2.71000
2.81000
3.01000
3.11000
3.21000
3.31000
3.41000
3.51000
3.61000
3.71000
3.81000
3.91000
4.01000
4.11000
4.21000

Tuning Recommendation

ProfileRecommendedWhy
broker / throughput2000Incremental fetch sessions (KIP-227) let consumers send O(partition_changes) per FetchRequest instead of O(all_partitions). When cache is full (>1000 active consumers), sessions are evicted and consumers fall back to full enumeration — wasting network bandwidth.
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.