You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the question I asked on stackoverflow and Garys answer it would be helpful in certain scenarios to be able to reset the retry state in the recoverer of the SeekToCurrentErrorHandler.
Currently, when an exception is raised in the recoverer, the BackOffExecution always returns the stop value. This way, no further back off is applied once the initial set of retries are exhausted and the recoverer "failed" by rasining an exception.
Resolvesspring-projects#1547
It generally makes sense to repeat the back offs after a recovery failure
instead of attempting recovery immediately on the next delivery.
Add an option to revert to the previous behavior.
Resolves#1547
It generally makes sense to repeat the back offs after a recovery failure
instead of attempting recovery immediately on the next delivery.
Add an option to revert to the previous behavior.
* Fix code typos in docs
Resolves#1547
It generally makes sense to repeat the back offs after a recovery failure
instead of attempting recovery immediately on the next delivery.
Add an option to revert to the previous behavior.
* Fix code typos in docs
# Conflicts:
# src/reference/asciidoc/whats-new.adoc
Based on the question I asked on stackoverflow and Garys answer it would be helpful in certain scenarios to be able to reset the retry state in the recoverer of the SeekToCurrentErrorHandler.
Currently, when an exception is raised in the recoverer, the BackOffExecution always returns the stop value. This way, no further back off is applied once the initial set of retries are exhausted and the recoverer "failed" by rasining an exception.
For further description on what I achieved by using the retry template, please see:
https://stackoverflow.com/questions/63068587/spring-kafka-how-to-replace-retry-template-with-new-backoff-and-recoverer-of-se
This could be replaced by the SeekToCurrentErrorHandler, a recoverer and the new BackOff parameter, just missing the reset of the retry state.
The text was updated successfully, but these errors were encountered: