Prog_G
Prog_G

Reputation: 1615

Can i restart a remote Akka Actor?

I am assuming that A supervisor Actor is Supervising a remote actor. Is there any way to Restart the remote actor if that actor failed while processing the request. And if it is not possible the can anyone suggest me a way to solve this issue. Thank you in advance.

Upvotes: 0

Views: 216

Answers (1)

Michal Borowiecki
Michal Borowiecki

Reputation: 4334

Just set the restarting Supervision Strategy on the parent actor. I doesn't matter that the child actor is deployed remotely. https://doc.akka.io/docs/akka/current/fault-tolerance.html#creating-a-supervisor-strategy

Upvotes: 2

Related Questions