MerrionComputing / EventsSourcing-on-Azure-Functions

A library to demonstrate doing Event Sourcing as a data persistence mechanism for Azure Functions
MIT License
103 stars 20 forks source link

Method to delete an event stream #33

Closed MerrionComputing closed 4 years ago

MerrionComputing commented 4 years ago

For things like GDPR and indeed for general balls-ups we need a method to allow for an event stream to be deleted.

(This is mainly for when event streams are backing somewhat transient entities like command or query instances)

This deletion must also raise a notification

MerrionComputing commented 4 years ago

Should add to the IEventStreamWriter interface.

MerrionComputing commented 4 years ago

Done

(I would advise against deleting event streams of business meaningful entities however)