-
Notifications
You must be signed in to change notification settings - Fork 1
Fail Flow
southeo edited this page Jun 30, 2023
·
5 revisions
The following images describe the fail flow for creating and updating digital specimens in the processing service. There are three external services that can fail:
- Handle Creation/Update
- ElasticSearch indexing (partial or complete failure)
- Kafka event publishing
In the event of a failure, the previous steps are rolled back, and the failed specimens are pushed to the Dead Letter Queue (DLQ). If a rollback fails, or if the DLQ fails, the specimen is logged and the errors should be addressed manually.
ElasticSearch can either fail partially or completely. In the event of a partial failure, the failed specimens are rolled back, and the successful specimens are pushed forward through the workflow.