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

Update event status in source db after event delivered #76

Open
iam-benyamin opened this issue Apr 28, 2024 · 1 comment
Open

Update event status in source db after event delivered #76

iam-benyamin opened this issue Apr 28, 2024 · 1 comment

Comments

@iam-benyamin
Copy link
Contributor

after we deliver an event to the third party we need to update the status of the event in the source DB

we can flush updates as batch statements periodically

@mohsenHa
Copy link
Contributor

mohsenHa commented May 6, 2024

For this purpose, I propose adopting the event-driven pattern. The Destination service, immediately after delivering the event to its target, should publish an event to the broker. Subsequently, the Source service can consume this event and update its database accordingly.

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

No branches or pull requests

2 participants