Skip to content

Commit d5389fa

Browse files
docs(autoRestart): explain when restart counter resets
Clarify that the restart counter resets once a connector runs longer than the next backoff interval.
1 parent 9a0f0ca commit d5389fa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

documentation/api/io.strimzi.api.kafka.model.connector.AutoRestart.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ When enabled, a back-off algorithm applies the automatic restart to each failed
44
An incremental back-off interval is calculated using the formula `n * n + n` where `n` represents the number of previous restarts.
55
This interval is capped at a maximum of 60 minutes.
66
Consequently, a restart occurs immediately, followed by restarts after 2, 6, 12, 20, 30, 42, 56 minutes, and then at 60-minute intervals.
7+
The restart counter is automatically reset once the connector has been running continuously for longer than the next backoff interval.
8+
For example, if the connector has restarted 4 times, it must run without errors for 20 minutes before the restart count resets to 0.
79
By default, Strimzi initiates restarts of the connector and its tasks indefinitely.
810
However, you can use the `maxRestarts` property to set a maximum on the number of restarts.
911
If `maxRestarts` is configured and the connector still fails even after the final restart attempt, you must then restart the connector manually.

0 commit comments

Comments
 (0)