Quantcast
Viewing all articles
Browse latest Browse all 1368

How to access SnapshotStore future API?

Hi!

I’m looking for a way to access the snapshot store outside of an actor, so I can load the snapshot-data of a specified persistenceId with the corresponding snapshot selection criteria in one of my persistence-queries and work on it without having to spawn an actor.

e.g. ideally I could do something like this

SnapshotStore(system).getSnapshotStore[JdbcSnapshotStore].loadAsync("my-persistence-id", SnapshotSelectionCriteria())

Any help greatly appreciated!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1368

Trending Articles