Closed MerrionComputing closed 4 years ago
🤔 Do you also do soft deletes / tombstoning ? (For instance, in CosmosDB, and many other stores, you don't get notification of deletes; thus I'd question hooking deletes and instead be looking for a feature where one can do some form of tombstoning for a stream that needs to be forgotten or similar)
I don't really - but I am thinking this through.
My thought are that a deleted for business reasons thing should be an event on the event stream that can be seen by a classifier that marks the entity as deleted.
True deletion of event streams is something that should happen to event stream backed entities with an intentionally short lifespan like commands, queries, sagas and so on.
Added -
EVENT_TYPE = @"eventsourcing.DeletedEntity"
Tested notification - can close this now.
When an event stream is deleted this also needs to raise a notification via eventhub,