-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kafka connector loop retry #2792
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice!
connectors/kafka/src/main/java/io/camunda/connector/kafka/inbound/KafkaExecutable.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 minor comment only 👍
c813afa
to
9e0022e
Compare
9e0022e
to
d1718a6
Compare
@chillleader This one might require e2e test fixes. |
8a68f69
to
1d7acfe
Compare
@sbuettner this should have fixed the test |
47ce498
to
9575a75
Compare
/backport |
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release/8.3
git worktree add -d .worktree/backport-2792-to-release/8.3 origin/release/8.3
cd .worktree/backport-2792-to-release/8.3
git switch --create backport-2792-to-release/8.3
git cherry-pick -x 807071e2ae74a81e73d2689505a131e1cdd8bb7e |
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release/8.4
git worktree add -d .worktree/backport-2792-to-release/8.4 origin/release/8.4
cd .worktree/backport-2792-to-release/8.4
git switch --create backport-2792-to-release/8.4
git cherry-pick -x 807071e2ae74a81e73d2689505a131e1cdd8bb7e |
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release/8.5
git worktree add -d .worktree/backport-2792-to-release/8.5 origin/release/8.5
cd .worktree/backport-2792-to-release/8.5
git switch --create backport-2792-to-release/8.5
git cherry-pick -x 807071e2ae74a81e73d2689505a131e1cdd8bb7e |
* fix(kafka): retry the main consumer loop with 30 seconds backoff * reduce test wait duration * lint * switch to failsafe * set number of retries to -1 (unlimited) * use constant for retry number * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * formatting (cherry picked from commit 807071e)
* fix(kafka): retry the main consumer loop with 30 seconds backoff * reduce test wait duration * lint * switch to failsafe * set number of retries to -1 (unlimited) * use constant for retry number * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * formatting (cherry picked from commit 807071e)
* fix(kafka): retry the main consumer loop with 30 seconds backoff * reduce test wait duration * lint * switch to failsafe * set number of retries to -1 (unlimited) * use constant for retry number * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * formatting (cherry picked from commit 807071e)
* fix(kafka): retry the main consumer loop with 30 seconds backoff * reduce test wait duration * lint * switch to failsafe * set number of retries to -1 (unlimited) * use constant for retry number * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * formatting (cherry picked from commit 807071e)
* fix(kafka): retry the main consumer loop with 30 seconds backoff * reduce test wait duration * lint * switch to failsafe * set number of retries to -1 (unlimited) * use constant for retry number * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * formatting (cherry picked from commit 807071e)
* fix(kafka): retry the main consumer loop with 30 seconds backoff * reduce test wait duration * lint * switch to failsafe * set number of retries to -1 (unlimited) * use constant for retry number * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * formatting (cherry picked from commit 807071e)
* fix(kafka): retry the main consumer loop with 30 seconds backoff * reduce test wait duration * lint * switch to failsafe * set number of retries to -1 (unlimited) * use constant for retry number * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * try fixing the integration test * formatting
Description
Adds retries to the Kafka connector consumer loop.
Previously, when the consumer threw an exception, it just stopped processing until the process is redeployed. The new default is to retry this as long as the connector is active, with a backoff of 30 seconds.
Related issues
closes #2750