Re: [akka-user] AKKA persistenceId uniquness

2016-10-24 Thread Ajmal Babu
Patrik, I take that back it is unique across different incarnation, thanks for the help. On Monday, October 24, 2016 at 12:33:16 PM UTC-5, Ajmal Babu wrote: > > Thanks Patrik, I would change it to the example you mentioned without the > parent. The uniqueness is still only g

[akka-user] AKKA persistenceId uniquness

2016-10-24 Thread Ajmal Babu
What is the right way to define persistenceId in AKKA persistence with cluster sharding? The activator example provides the below option to create a persistenceId and I like this option (explained later). override def persistenceId: String = self.path.parent.name + "-" + self.path.name

[akka-user] On cluster node failure is there an automatic way to recover cluster shard persistent actors in the failed node to other node?

2016-09-19 Thread Ajmal Babu
Working on AKKA persistence with cluster sharding and the flag akka.cluster.sharding.remember-entities set to "on". For some reason when one of the node dies in the cluster the entities in that node does not get automatically restarted in the other available nodes in the cluster. Is that the

[akka-user] AKKA persistence actor eager loading of journal & snapshot.

2016-09-19 Thread Ajmal Babu
Following options is specified in the AKKA configuration file to eager load journals and snapshots for AKKA Cassandra persistence. We have an AKKA and persistence actor is started in one of the cluster nodes. but when the node dies the persistence actor does not automatically gets recreated on

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