-
Notifications
You must be signed in to change notification settings - Fork 111
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
Introduce exponential backoff for ErrorStrategy retry delay #604
Comments
Hi, it sounds interesting, if that's possible, I'd like to start working on it |
I tried to start working on it, but build is failing for me locally. Errors I'm getting are exactly the same as in case of the failing builds on GitHub. @graemerocher, could you please give it a look? |
I also tried to get the build running locally to draft another PR but was also not yet successful. Help would be much appreciated @graemerocher |
@breader124 @larsduelfer if you can use the 4.5.x branch in the interum as Thanks |
@breader124 Does the branch build locally on your machine? I have a handful of failing tests on the 4.5.x branch at the moment. |
No, when I try to run |
@breader124 I have the same setup (Apple with M1). Using the 4.5.x branch, I have one failing / toggling test in the kafka sub-project and a few more in the kafka-streams subproject. Need to further investigate, how to fix that. |
…ff retry strategy
@larsduelfer, it seems that I managed to configure the 4.5.x branch the way that it passes the build. Changes I introduced:
You can find all the necessary changes in this commit. I hope it'll help you and it seems that now I'm able to continue working on the original issue. |
@graemerocher, I opened a PR, could you give it a look? |
Feature description
At present the
@ErrorStrategy
available for a@KafkaListener
using the "retry on error" strategy offers users the option of setting a fixed time delay between event consumption attempts.It would be helpful if the option also existed to configure an exponential backoff approach with users able to configure initial and maximum delay values.
The text was updated successfully, but these errors were encountered: