On 06.05.14 20:52, Vaughn Vernon wrote:
Thanks. I still think that the docs need to be strengthened to state that the Processor will not work unless it receives a Recover message, and that the Recover message could take several forms depending on the recovery goals.

I agree. Do you want to make a pull request with the changes you'd like to see in the docs?

Thanks,
Martin



On Monday, May 5, 2014 11:40:59 PM UTC-6, Martin Krasser wrote:


    On 06.05.14 04:26, Vaughn Vernon wrote:
    When I override preStart in any way other than invoking
    super.preStart() my actor is unable to receive any kind of
    message. It seems to be stashing messages, but never delivering
    them. The only way I can work around this is by leaving preStart
    as defaulted, and using the mode variables recoveryRunning or
    receoveryFinished. (Or I can send Recover myself.)

    I found this:
    https://groups.google.com/d/msg/akka-user/EBV0pLttClk/oP_wixqFSw8J 
<https://groups.google.com/d/msg/akka-user/EBV0pLttClk/oP_wixqFSw8J>

    By this this it seems to me that the documentation probably
    requires clarification. In the docs I get the impression that you
    never need to recover an actor, but from the above link it
    appears that a Processor must always receive a Recover message
    from something. Further, it seems that the only way to avoid
    recovering a given actor is to ignore all messages until
    receoveryFinished is true.

    You could also send a Recover message with either toSequenceNr=0L
    or replayMax=0L. This will enable the processor to process new
    messages without replaying any messages.

-- >>>>>>>>>> Read the docs: http://akka.io/docs/
    >>>>>>>>>> Check the FAQ:
    http://doc.akka.io/docs/akka/current/additional/faq.html
    <http://doc.akka.io/docs/akka/current/additional/faq.html>
    >>>>>>>>>> Search the archives:
    https://groups.google.com/group/akka-user
    <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+...@googlegroups.com <javascript:>.
    To post to this group, send email to akka...@googlegroups.com
    <javascript:>.
    Visit this group at http://groups.google.com/group/akka-user
    <http://groups.google.com/group/akka-user>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

-- Martin Krasser

    blog:http://krasserm.blogspot.com
    code:http://github.com/krasserm
    twitter:http://twitter.com/mrt1nz


--
Martin Krasser

blog:    http://krasserm.blogspot.com
code:    http://github.com/krasserm
twitter: http://twitter.com/mrt1nz

--
     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.

Reply via email to