Reputation: 61568
PersistentView
has been deprecated in akka 2.4. The docs advise to switch to PersistenceQuery
instead. However PersistenceQuery
seems to be limited to the event journal only, without a capability to query the snapshot store.
Restoring a state from a large number of events takes some time, so the ability to use snapshots is important for me.
Is the deprecation a bit ahead of its time here? Should I continue to work with PersistentView
or am I missing something? How do I work with snapshots using only PersistenceQuery
?
Thank you
Upvotes: 6
Views: 324
Reputation: 595
One way to do it:
Upvotes: 1