I've implemented snapshotting every n events by checking if offset modulo n
== 0.
Also, to answer myself, the snapshot is a Protobuf object as well.
On Sun, Jan 8, 2017 at 5:14 PM, Tal Pressman wrote:
> Still, I don't think you can get snapshots that were saved by the
>
Still, I don't think you can get snapshots that were saved by the
"original" persistent actor through the persistence query. It's fairly easy
to check, though - just save a snapshot and see if you can read it from the
query.
In any case, what I meant is that instead of only saving the offset
Sorry this wasn't more clear. I *am* saving the offset of a
persistence-query. I'm saving it in the persistent actor that issues the
query.
On Sun, Jan 8, 2017 at 9:48 AM, Tal Pressman wrote:
> If I am not mistaken, persistence-query does not support snapshots so you
> would
If I am not mistaken, persistence-query does not support snapshots so you
would have to save the snapshot along with your offset, and then for
recovery you should load it manually and restart the persistence-query from
the saved offset.
Tal
On Thursday, January 5, 2017 at 4:21:36 PM UTC+2,