reconnect.backoff.max.ms — Kafka Consumer Configuration
The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect. If provided, the backoff per host will increase exponentially for each consecutive connection failure, up to this maximum.
Description
The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect. If provided, the backoff per host will increase exponentially for each consecutive connection failure, up to this maximum. After calculating the backoff increase, 20% random jitter is added to avoid connection storms.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.11.0 | 1000 |
| 1.0 | 1000 |
| 1.1 | 1000 |
| 2.0 | 1000 |
| 2.1 | 1000 |
| 2.2 | 1000 |
| 2.3 | 1000 |
| 2.4 | 1000 |
| 2.5 | 1000 |
| 2.6 | 1000 (1 second) |
| 2.7 | 1000 (1 second) |
| 2.8 | 1000 (1 second) |
| 3.0 | 1000 (1 second) |
| 3.1 | 1000 (1 second) |
| 3.2 | 1000 (1 second) |
| 3.3 | 1000 (1 second) |
| 3.4 | 1000 (1 second) |
| 3.5 | 1000 (1 second) |
| 3.6 | 1000 (1 second) |
| 3.7 | 1000 (1 second) |
| 3.8 | 1000 (1 second) |
| 3.9 | 1000 (1 second) |
| 4.0 | 1000 (1 second) |
| 4.1 | 1000 (1 second) |
| 4.2 | 1000 (1 second) |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.