-
Notifications
You must be signed in to change notification settings - Fork 2
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
Defensive measures #56
Conversation
... instead of reading from DB.
Emitter will retry posting events for failed webhook destinations. However, when emitter recovery is implemented, when a event is not yet successfully emitted and the emitter restarts, the emitter will emit the message to all the destinations, including those already emitted successfully.
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
There has been quite an amount of changes that had to be make, so unfortunately this PR is a bit big.
What it changes:
Component diagram:
Test description to see if everything recovers correctly (set finalization offset to 0):
Note that although events from RPC should not be lost, there can be instances in extreme conditions where some events are not emitted when AMQP broker dies and the whole system goes down without a chance for the AMQP broker to save the message to persistence.