Skip to content
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

Adding Configurable Exponential Backoff in Pull Delivery #150

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

Le-Merle
Copy link
Contributor

Description of changes

A new RetryDelays configuration parameter was added, which gives control over the delays before releasing the lock on failed domain events in Pull Delivery mode.

The tests were also completely rewritten, as dealing with the previous implementation with AutoBogus led to more issues than benefits.

Breaking changes

If the new parameter is not set, a default implementation of an exponential backoff is provided. This means that after updating, failed domain events will be released over a progressively longer period time versus before, where they were immediately released.

Additional checks

  • Updated the documentation of the project to reflect the changes
  • Added new tests that cover the code changes

@Le-Merle Le-Merle requested a review from a team as a code owner July 16, 2024 18:09
@Le-Merle Le-Merle merged commit e1022a9 into main Jul 18, 2024
4 checks passed
@Le-Merle Le-Merle deleted the feature/SGCORE-737_Implement-Retry-Policy branch July 18, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants