conduktor.io ↗

max.connections — Kafka Broker Configuration

The maximum number of connections we allow in the broker at any time. This limit is applied in addition to any per-ip limits configured using max.

Description

The maximum number of connections we allow in the broker at any time. This limit is applied in addition to any per-ip limits configured using max.connections.per.ip. Listener-level limits may also be configured by prefixing the config name with the listener prefix, for example, listener.name.internal.max.connections.per.ip. Broker-wide limit should be configured based on broker capacity while listener limits should be configured based on application requirements. New connections are blocked if either the listener or broker limit is reached. Connections on the inter-broker listener are permitted even if broker-wide limit is reached. The least recently used connection on another listener will be closed in this case.

Default Values by Kafka Version

Kafka VersionDefault Value
2.32147483647
2.42147483647
2.52147483647
2.62147483647
2.72147483647
2.82147483647
3.02147483647
3.12147483647
3.22147483647
3.32147483647
3.42147483647
3.52147483647
3.62147483647
3.72147483647
3.82147483647
3.92147483647
4.02147483647
4.12147483647
4.22147483647
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.