Used as error handling Receive when running projections or accepting new events.
Used as error handling Receive when running projections or accepting new events.
Will stop the actor whenever a failure kicks in. BackoffSupervisor must restart it
(Since version 2.4) use persistAll instead
(Since version 2.4) use persistAllAsync instead
A ProjectionActor that saves the offset as a snapshot in Akka Persistence
This implementation is a quick win for those that simply want to persist the offset without caring about the persistence layer.
However, the drawback is that most (if not all) akka-persistence snapshot plugins will save it as binary data which make it difficult to inspect the DB to get to know the last processed event.