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

Dead letter dict structure to reliably re-inject failed KytosEvent on demand #197

Closed
viniarck opened this issue Mar 28, 2022 · 0 comments · Fixed by #204
Closed

Dead letter dict structure to reliably re-inject failed KytosEvent on demand #197

viniarck opened this issue Mar 28, 2022 · 0 comments · Fixed by #204
Labels
2022.2 Kytos-ng 2022.2 enhancement New feature or request epic_nosql_db_foundation NoSQL Database Foundation

Comments

@viniarck
Copy link
Member

viniarck commented Mar 28, 2022

This is for adding support for a dead letter dict (data structure) to hold failed KytosEvent that can happen for certain cases when handling asynchronous where returning an error for a caller isn't applicable as mentioned on the no-sql DB blueprint PR #188. Also, there should be a way to re-inject them on-demand as needed through an internal endpoint, so since kytos implements a simplified message bus of routed events, ultimately, this will be a safety net when a full outage of the DB happens (or any other unhandled exceptions, but the primary driver is the DB failures) in an worst case scenario, which is expected to be used rarely.

The DB cluster is supposed to provide high-availablity, initially we'll have 3 nodes, and we can keep increasing and adapting as needed to minimize a full outage likelihood even more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2022.2 Kytos-ng 2022.2 enhancement New feature or request epic_nosql_db_foundation NoSQL Database Foundation
Projects
None yet
1 participant