Hi,
I am trying to achieve the following with persisted actors:
1. Have a persisted stateful actor the runs a process over a period of
time (basically calling a micro flows actors to perform a step in the
process when the time is due)
2. In some cases the the steps are immediate but in other cases minutes
can pass before the next step is due (i.e. waiting for a "ready" message
from another system)
3. As long time can pass between the steps and the node running the
stateful actor can go down we planned on:
1. closing the process stateful actor without deleting its state
from the shared storage
2. having the "ready" message delivered to any node in the cluster
3. reviving the actor and reproducing its state from the shared
storage
4. when the process was completed in full delete the actor state from
the shared storage
*my question:*
I failed to find a clear instructions in the documentation on how can i
terminate an actor from the node memory (but keep its persisted state), how
can i recover a specific stateful actor (process probably by using the
persistence id) and how can i terminate it altogether including its
persisted state.
I am playing with some tests to see how can it be achieved but i would
appreciate some clear instructions to see that i am not counting on some
behavior that could be changed in the future (maybe even add it to the
documentation).
Thanks,
Barak
--
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this on behalf of the
addressee you must not use, copy, disclose or take action based on this
message or any information herein.
If you have received this message in error, please advise the sender
immediately by reply email and delete this message. Thank you.
--
>>>>>>>>>> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.