Reputation: 364
We are using Akka.net with persistence (using PostgreSQL) and storing custom events in the event store. During development/testing events may be added to the event store which at some point in the future I will wish to delete/ignore. What is the best way to go about this? I know I can manually remove them or make the event idempotent so that it doesn't change the actors state. Ideally I would also like any events which fail to deserialize from the event store (say because the required deserialization type no longer exists) to be ignored. Is it possible to ignore deserialization failures when replaying Akka.net persistence events? At present if any event fails to deserialize the actor remains in an inconsistent state. I have tried searching and not found anything. Thanks
Upvotes: 0
Views: 219