Re: [akka-user] Stop singleton on all nodes then start the same singleton on all nodes.

2017-06-22 Thread Patrik Nordwall
Stopping the singleton actor is not a good idea because it will not be started again unless you stop the actor system that it was running on. I see two alternatives. 1) Stop the SingletonManager and later start it again. 2) Introduce another shallow parent actor to the actual singleton actor. The

[akka-user] Stop singleton on all nodes then start the same singleton on all nodes.

2017-06-20 Thread bcn
Hello, We are running Akka 2.4.18. We have a singleton that is created on all nodes in the cluster(for example three nodes). At some point in the life time of the singleton we no longer need it on any of the nodes but later need to recreate it. Is there a way to stop the singleton on all nodes