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 <kir...@gmail.com> wrote:

> 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, rrodseth wrote:
>>
>> I have a PersistentActor which is a read side projection that runs a
>> persistence-query stream. It's only state is an offset, a Long. Protobuf
>> serialization is used for persistence messages.
>>
>> I'm preparing to add snapshotting. The examples show a "snap" message
>> handled by calling saveSnapshot.
>>
>> Am I correct that I should make the internal state passed to
>> saveSnapshot() a Protobuf object as well?
>>
>> And when would "snap" (or case object SaveSnapShot) typically be sent?
>>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to