Re: [akka-user] Does akka-persistence demand incorruptible actor state?

2014-05-26 Thread Roland Kuhn
Hi Lawrence, 21 maj 2014 kl. 17:38 skrev Lawrence Wagerfield lawre...@dmz.wagerfield.com: Interesting, thanks for the heads-up regarding the deprecation of Processor :) While we're on the topic of event-sourcing: Is it legal to send messages on recovery? These are side-effecting, but will

Re: [akka-user] Does akka-persistence demand incorruptible actor state?

2014-05-26 Thread Patrik Nordwall
In event sourcing principles you don't perform external side effects during replay/recovery. That doesn't prevent you from doing it, if you have a good reason for it. Sometimes it is more useful to send messages immediately after recovery, than during recovery. Later events in the recovery might

Re: [akka-user] Does akka-persistence demand incorruptible actor state?

2014-05-21 Thread Lawrence Wagerfield
Interesting, thanks for the heads-up regarding the deprecation of Processor :) While we're on the topic of event-sourcing: Is it legal to send messages on recovery? These are side-effecting, but will never manifest as a failure in the sender. If the only reason not to 'side-effect' is to

Re: [akka-user] Does akka-persistence demand incorruptible actor state?

2014-05-14 Thread Heiko Seeberger
You can delete messages from the journal or use an EventSourcedProcessor which only stores/replays validated commands (messages). Heiko On Wed, May 14, 2014 at 10:21 PM, Lawrence Wagerfield lawre...@dmz.wagerfield.com wrote: Akka documentation highlights that actor state is reset on