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

Make CUD operations to publish events #15

Open
GuillaumeDeconinck opened this issue Jul 26, 2021 · 1 comment
Open

Make CUD operations to publish events #15

GuillaumeDeconinck opened this issue Jul 26, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@GuillaumeDeconinck
Copy link
Owner

So that other services can react to these events (if needed).

Ideally, these events shouldn't be published directly, but instead stored in DB along with the actual operation (create, update, delete) in a transaction, so that we can be sure the event will be published at some point (otherwise a crash might do the update in DB but fail to publish the event) => Microservices patterns.

@GuillaumeDeconinck GuillaumeDeconinck added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 26, 2021
@GuillaumeDeconinck
Copy link
Owner Author

Note that documentation on the event should be written, maybe time to investigate https://www.asyncapi.com/

@GuillaumeDeconinck GuillaumeDeconinck added this to the Nice to have milestone Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant