Hi Dan! Event sourcing systems like to think in terms of "never delete anything”. It’s basically auditing for free as well as the power to replay and analyse the entire history of your application.
In such systems snapshots are only used ot make recovery faster - not to drop the proceeding data, which is why we don’t automatically delete preceding events when a snapshot succeeds. You can delete them by reacting to a snapshot succcess by issuing an deleteMessages(toSequenceNr = lastseqnr). Hope this helps! — Konrad On 30 October 2014 at 09:23:44, Dan Ellis (d...@danellis.me) wrote: Does a journal continue to grow in size forever, even if you're using snapshots? Presumably, once a snapshot is stored, the events preceding it are no longer needed. Are they kept? If so, is it possible to purge them? -- >>>>>>>>>> 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 http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout. -- Konrad 'ktoso' Malawski hAkker @ typesafe http://akka.io -- >>>>>>>>>> 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 http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.