пятница, 11 марта 2016 г., 10:48:31 UTC+2 пользователь aga...@sointeractive.pl написал: > > Hello! > I was looking for and not found anywhere any information about ability to > get snapshots from snapshot store using Akka Persistence Query. Do you know > any way of doing such a thing? >
Whenever I assume correct, you try to implement CQRS pattern, etc. one Writer part manages some state using Event Sourcing while multiple Readers keep the same state for querying. If it so , you can find the code here http://stackoverflow.com/questions/38246786/akka-persistence-query-event-stream-and-cqrs/43635674#43635674 (last answer). I combined Persistent Query & Persistent Actor together to Implement the Reader. If it not so, the formal answer is no, you can't recover from Snapshots using only Persistence Query. -- >>>>>>>>>> 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.