conduktor.io ↗

socket.connection.setup.timeout.ms — Kafka Broker Configuration

The amount of time the client will wait for the socket connection to be established. If the connection is not built before the timeout elapses, clients will close the socket channel

Description

The amount of time the client will wait for the socket connection to be established. If the connection is not built before the timeout elapses, clients will close the socket channel. This value is the initial backoff value and will increase exponentially for each consecutive connection failure, up to the socket.connection.setup.timeout.max.ms value.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Broker2.710000 (10 seconds)
Broker2.810000 (10 seconds)
Broker3.010000 (10 seconds)
Broker3.110000 (10 seconds)
Broker3.210000 (10 seconds)
Broker3.310000 (10 seconds)
Broker3.410000 (10 seconds)
Broker3.510000 (10 seconds)
Broker3.610000 (10 seconds)
Broker3.710000 (10 seconds)
Broker3.810000 (10 seconds)
Broker3.910000 (10 seconds)
Broker4.010000 (10 seconds)
Broker4.110000 (10 seconds)
Broker4.210000 (10 seconds)
Broker4.310000 (10 seconds)
Broker4.410000 (10 seconds)
Consumer2.710000 (10 seconds)
Consumer2.810000 (10 seconds)
Consumer3.010000 (10 seconds)
Consumer3.110000 (10 seconds)
Consumer3.210000 (10 seconds)
Consumer3.310000 (10 seconds)
Consumer3.410000 (10 seconds)
Consumer3.510000 (10 seconds)
Consumer3.610000 (10 seconds)
Consumer3.710000 (10 seconds)
Consumer3.810000 (10 seconds)
Consumer3.910000 (10 seconds)
Consumer4.010000 (10 seconds)
Consumer4.110000 (10 seconds)
Consumer4.210000 (10 seconds)
Consumer4.310000 (10 seconds)
Consumer4.410000 (10 seconds)
Producer2.710000 (10 seconds)
Producer2.810000 (10 seconds)
Producer3.010000 (10 seconds)
Producer3.110000 (10 seconds)
Producer3.210000 (10 seconds)
Producer3.310000 (10 seconds)
Producer3.410000 (10 seconds)
Producer3.510000 (10 seconds)
Producer3.610000 (10 seconds)
Producer3.710000 (10 seconds)
Producer3.810000 (10 seconds)
Producer3.910000 (10 seconds)
Producer4.010000 (10 seconds)
Producer4.110000 (10 seconds)
Producer4.210000 (10 seconds)
Producer4.310000 (10 seconds)
Producer4.410000 (10 seconds)
Connect Worker2.710000 (10 seconds)
Connect Worker2.810000 (10 seconds)
Connect Worker3.010000 (10 seconds)
Connect Worker3.110000 (10 seconds)
Connect Worker3.210000 (10 seconds)
Connect Worker3.310000 (10 seconds)
Connect Worker3.410000 (10 seconds)
Connect Worker3.510000 (10 seconds)
Connect Worker3.610000 (10 seconds)
Connect Worker3.710000 (10 seconds)
Connect Worker3.810000 (10 seconds)
Connect Worker3.910000 (10 seconds)
Connect Worker4.010000 (10 seconds)
Connect Worker4.110000 (10 seconds)
Connect Worker4.210000 (10 seconds)
Connect Worker4.310000 (10 seconds)
Connect Worker4.410000 (10 seconds)

Tuning Recommendation

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

ProfileProposalRationale and tradeoff
producer / latency3000Sets the initial connection establishment timeout; repeated failures can increase it up to the configured maximum.

Tradeoff: A shorter value can reject legitimate slow connections. It does not directly bound every send() call or guarantee immediate rebootstrap.

Reference · 2026-10-27

Related Configs

socket.connection.setup.timeout.max.ms · reconnect.backoff.ms

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