Does replaying the Lago log re-execute a Haima spend? #1790
Unanswered
FTHTrading
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Event sourcing next to a payments module is the combination that would keep me up. Rebuilding state by replaying the Lago log has to not re-execute a Haima spend, and the usual fix, marking payment events as non-replayable side effects, quietly means your rebuilt state is no longer derived purely from the log. Does Haima carry an idempotency key that survives a rebuild, or did you split the payment effect out of the event stream entirely?
All reactions