reconnect.backoff.ms — Kafka Consumer Configuration
The base amount of time to wait before attempting to reconnect to a given host. This avoids repeatedly connecting to a host in a tight loop.
Description
The base amount of time to wait before attempting to reconnect to a given host. This avoids repeatedly connecting to a host in a tight loop. This backoff applies to all connection attempts by the client to a broker. This value is the initial backoff value and will increase exponentially for each consecutive connection failure, up to the reconnect.backoff.max.ms value.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.9.0 | 50 |
| 0.10.0 | 50 |
| 0.10.1 | 50 |
| 0.10.2 | 50 |
| 0.11.0 | 50 |
| 1.0 | 50 |
| 1.1 | 50 |
| 2.0 | 50 |
| 2.1 | 50 |
| 2.2 | 50 |
| 2.3 | 50 |
| 2.4 | 50 |
| 2.5 | 50 |
| 2.6 | 50 |
| 2.7 | 50 |
| 2.8 | 50 |
| 3.0 | 50 |
| 3.1 | 50 |
| 3.2 | 50 |
| 3.3 | 50 |
| 3.4 | 50 |
| 3.5 | 50 |
| 3.6 | 50 |
| 3.7 | 50 |
| 3.8 | 50 |
| 3.9 | 50 |
| 4.0 | 50 |
| 4.1 | 50 |
| 4.2 | 50 |
Related Configs
socket.connection.setup.timeout.ms
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.