Permanent deletion for withDeleteEventsOnSnapshot Criteria

Hi, I want to permanently delete events in the persistence journal after a snapshot. I noticed that in the jdbc-journal they are only marked as deleted using withDeleteEventsOnSnapshot criteria. Will this ever be actually deleted or do I have to call a separate API to do so?

hi @nur,

Event deletes are indeed soft deletes by default. You can change that behavior if a config settings.

See https://github.com/akka/akka-persistence-jdbc/blob/master/core/src/main/resources/reference.conf#L17-L26

Cheers,

Thank you @renato. This is what I was looking for.