lerna-stack / akka-entity-replication

Akka extension for fast recovery from failure with replicating stateful entity on multiple nodes in Cluster
Apache License 2.0
30 stars 1 forks source link

Support deleting old events and snapshots #204

Closed xirc closed 1 year ago

xirc commented 1 year ago

Closes: https://github.com/lerna-stack/akka-entity-replication/issues/201

akka-entity-replication supports deleting old events and snapshots. This deletion feature is an opt-in feature (disabled is the default) since it only supports the Akka Persistence Cassandra. The deletion criteria is based on sequence number.

There are four related persistent actors:

They delete old events and snapshots automatically when they save a snapshot. If a deletion fails, they will log a warning message.

The newly introduced settings are: