-
Notifications
You must be signed in to change notification settings - Fork 5
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
AP-5046 outbox-core package for transactional outbox pattern #204
Conversation
@kibertoad Ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very impressive work, thank you so much!
Thank you, let me work on the test pipeline now 😁 |
Ready for release @kibertoad 🎉 |
@kibertoad Could we merge this one? 👉👈 |
@jmontoyaa done. should I publish a new version, or we still need to implement anything for the outbox? |
Thanks! 🙏 A new version, is not needed at the moment. There's still this PR in draft about the prisma adapter #208 I will mark ticket AP-5046 as done. |
Added few classes in outbox.ts that cover:
I didn't decide to implement
lockedUntil
forACKed
entries. Now the code that handles entries is wrapped with try-catch, in case of errors we always end up withFAILED
status, next execution will pick up such entries until retry count max is reached.