How to work around the issue of deleting data in an eventstore?
I need to permanently and completely delete some data in order to comply to privacy laws.
I have found these alternatives:
Encrypt the data that you need deleted, and store the encryption key in its own table. When the data needs to be deleted, you then only delete the encryption key.
Use event sourcing on the data that does not need deletion, with reference to a CRUD database for the confidential data that need to be deleted.
Are there any other ways of doing it?