IEventItemProjectionBuilder<TEventItem>
- Dead Letter Container Decorator
#261
Labels
event-sourcing
Related to the CosmosEventSourcing project.
help wanted
Extra attention is needed
up-for-grabs 🙏🏽
Happy to consider a pull review to address this issue
If we fail to handle a change from the change feed. We want to make sure that we store a copy of that event. We can write this
EventItem
directly to another container, acting much like a dead letter queue. We can then provide another processor that can poll this dead letter queue and try and re-process them, we could provide a mechanism that will only retry and event 5 times for example. If it still fails then we could log a critical failure. We can also allow a consumer to configure that a given exception means the event will never succeed, it can then be marked in the dead letter container as a critical failure.Again I think we can use a decorator pattern to wrap a default implementation with something that catches these exceptions and deals with the dead-lettering.
The text was updated successfully, but these errors were encountered: