specifies that this entity type requires cluster nodes with a specific role. If the role is not specified all nodes in the cluster are used.
true if active entity actors shall be automatically restarted upon Shard
restart. i.e. if the Shard
is started on a different ShardRegion
due to rebalance or crash.
Absolute path to the journal plugin configuration entity that is to be used for the internal persistence of ClusterSharding. If not defined the default journal plugin is used. Note that this is not related to persistence used by the entity actors.
Absolute path to the snapshot plugin configuration entity that is to be used for the internal persistence of ClusterSharding. If not defined the default snapshot plugin is used. Note that this is not related to persistence used by the entity actors.
Passivate entities that have not received any message in this interval.
Note that only messages sent through sharding are counted, so direct messages
to the ActorRef
of the actor or messages that it sends to itself are not counted as activity.
Use 0 to disable automatic passivation.
additional tuning parameters, see descriptions in reference.conf
(Since version 2.5.18) Use the ClusterShardingSettings factory methods or the constructor including passivateIdleEntityAfter instead
Absolute path to the journal plugin configuration entity that is to be used for the internal persistence of ClusterSharding.
Absolute path to the journal plugin configuration entity that is to be used for the internal persistence of ClusterSharding. If not defined the default journal plugin is used. Note that this is not related to persistence used by the entity actors.
Passivate entities that have not received any message in this interval.
Passivate entities that have not received any message in this interval.
Note that only messages sent through sharding are counted, so direct messages
to the ActorRef
of the actor or messages that it sends to itself are not counted as activity.
Use 0 to disable automatic passivation.
true if active entity actors shall be automatically restarted upon Shard
restart.
true if active entity actors shall be automatically restarted upon Shard
restart. i.e. if the Shard
is started on a different ShardRegion
due to rebalance or crash.
specifies that this entity type requires cluster nodes with a specific role.
specifies that this entity type requires cluster nodes with a specific role. If the role is not specified all nodes in the cluster are used.
Absolute path to the snapshot plugin configuration entity that is to be used for the internal persistence of ClusterSharding.
Absolute path to the snapshot plugin configuration entity that is to be used for the internal persistence of ClusterSharding. If not defined the default snapshot plugin is used. Note that this is not related to persistence used by the entity actors.
additional tuning parameters, see descriptions in reference.conf
The role
of the ClusterSingletonManagerSettings
is not used.
The role
of the ClusterSingletonManagerSettings
is not used. The role
of the
coordinator singleton will be the same as the role
of ClusterShardingSettings
.