retry.backoff.max.ms — Kafka Consumer Configuration
The maximum amount of time in milliseconds to wait when retrying a request to the broker that has repeatedly failed. If provided, the backoff per client will increase exponentially for each failed request, up to this maximum
Description
The maximum amount of time in milliseconds to wait when retrying a request to the broker that has repeatedly failed. If provided, the backoff per client will increase exponentially for each failed request, up to this maximum. To prevent all clients from being synchronized upon retry, a randomized jitter with a factor of 0.2 will be applied to the backoff, resulting in the backoff falling within a range between 20% below and 20% above the computed value. If retry.backoff.ms is set to be higher than retry.backoff.max.ms, then retry.backoff.max.ms will be used as a constant backoff from the beginning without any exponential increase
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Consumer | 3.7 | 1000 (1 second) |
| Consumer | 3.8 | 1000 (1 second) |
| Consumer | 3.9 | 1000 (1 second) |
| Consumer | 4.0 | 1000 (1 second) |
| Consumer | 4.1 | 1000 (1 second) |
| Consumer | 4.2 | 1000 (1 second) |
| Consumer | 4.3 | 1000 (1 second) |
| Consumer | 4.4 | 1000 (1 second) |
| Producer | 3.7 | 1000 (1 second) |
| Producer | 3.8 | 1000 (1 second) |
| Producer | 3.9 | 1000 (1 second) |
| Producer | 4.0 | 1000 (1 second) |
| Producer | 4.1 | 1000 (1 second) |
| Producer | 4.2 | 1000 (1 second) |
| Producer | 4.3 | 1000 (1 second) |
| Producer | 4.4 | 1000 (1 second) |
| Connect Worker | 3.7 | 1000 (1 second) |
| Connect Worker | 3.8 | 1000 (1 second) |
| Connect Worker | 3.9 | 1000 (1 second) |
| Connect Worker | 4.0 | 1000 (1 second) |
| Connect Worker | 4.1 | 1000 (1 second) |
| Connect Worker | 4.2 | 1000 (1 second) |
| Connect Worker | 4.3 | 1000 (1 second) |
| Connect Worker | 4.4 | 1000 (1 second) |
Tuning Recommendation
Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.
| Profile | Proposal | Rationale and tradeoff |
|---|---|---|
| producer / throughput | 5000 | Caps the exponential retry backoff where supported by the selected client version. Tradeoff: Increasing the cap can delay recovery after a short outage. It does not imply a fixed number of attempts within the delivery window. Reference · 2026-10-27 |
| producer / durability | 5000 | Caps the exponential retry backoff where supported by the selected client version. Tradeoff: Increasing the cap can delay recovery after a short outage. It does not imply a fixed number of attempts within the delivery window. Reference · 2026-10-27 |
Related Configs
retries · delivery.timeout.ms · retry.backoff.ms