Re: [akka-user] Cluster Sharding with remember-entity restarting a stopped actor

2016-09-19 Thread Patrik Nordwall
You need to use the `Passivate` message. http://doc.akka.io/docs/akka/2.4/java/cluster-sharding.html#Remembering_Entities Also, make sure that you don't call context.stop from any other thread than the actor's message receive. /Patrik On Sun, Sep 18, 2016 at 11:52 PM, Ajmal Babu

[akka-user] Cluster Sharding with remember-entity restarting a stopped actor

2016-09-18 Thread Ajmal Babu
We are using AKKA 2.4.10 persistent actor, cluster sharding with Cassandra storage and have enabled remember-entity = true. We need to stop certain persistent actor after a specific time-frame. (few days). The issue is that the actor once stopped gets automatically restarted after 10 seconds.