Skip to content

Commit 514606b

Browse files
docs(autoRestart): document when the restart counter resets for connectors (#11917)
Signed-off-by: rodrigo-molina <43792562+rodrigo-molina@users.noreply.github.com>
1 parent 4571cbc commit 514606b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)