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.connections.per.ip

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

ComponentKafka version lineDocumented default
Broker2.32147483647
Broker2.42147483647
Broker2.52147483647
Broker2.62147483647
Broker2.72147483647
Broker2.82147483647
Broker3.02147483647
Broker3.12147483647
Broker3.22147483647
Broker3.32147483647
Broker3.42147483647
Broker3.52147483647
Broker3.62147483647
Broker3.72147483647
Broker3.82147483647
Broker3.92147483647
Broker4.02147483647
Broker4.12147483647
Broker4.22147483647
Broker4.32147483647
Broker4.42147483647
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.