docs(autoRestart): document when the restart counter resets for connectors#11917
Merged
scholzj merged 1 commit intostrimzi:mainfrom Sep 26, 2025
Conversation
scholzj
approved these changes
Sep 25, 2025
Member
scholzj
left a comment
There was a problem hiding this comment.
This seems reasonable. Thanks for the PR!
d5389fa to
3fe0ffe
Compare
Clarify that the restart counter resets once a connector runs longer than the next backoff interval. Signed-off-by: rodrigo-molina <43792562+rodrigo-molina@users.noreply.github.com>
3fe0ffe to
5c64aac
Compare
Contributor
Author
Anytime 😄 ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Description
While walking through the Kafka Connect AutoReset implementation, I discovered the reset counter feature is not explained in the documentation.
The feature is implemented in:
strimzi-kafka-operator/cluster-operator/src/main/java/io/strimzi/operator/cluster/operator/assembly/AbstractConnectOperator.java
Lines 733 to 754 in 9a0f0ca
and it's used by the handler:
strimzi-kafka-operator/cluster-operator/src/main/java/io/strimzi/operator/cluster/operator/assembly/AbstractConnectOperator.java
Lines 643 to 650 in 9a0f0ca
See the full method code:
strimzi-kafka-operator/cluster-operator/src/main/java/io/strimzi/operator/cluster/operator/assembly/AbstractConnectOperator.java
Lines 623 to 664 in 9a0f0ca
Checklist
Please go through this checklist and make sure all applicable tasks have been done
[ ] Write tests[ ] Make sure all tests pass[ ] Check RBAC rights for Kubernetes / OpenShift roles[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally[ ] Reference relevant issue(s) and close them after merging[ ] Update CHANGELOG.md[ ] Supply screenshots for visual changes, such as Grafana dashboards