Sorry for the delayed reply,
At the first time of execution it went fine. When I start the cluster second time I am getting the below logs
Here, I am not using ddata for but still it shows that Lease Acquired. Getting state from DData
Below find the complete log
[INFO] [08/03/2019 18:16:01.954] [ReactorCluster-akka.actor.default-dispatcher-18] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegionCoordinator/singleton/coordinator] ShardCoordinator was moved to the active state State(Map(),Map(),Set(),Set(-1, -9, 0, WA_6),true)
[INFO] [08/03/2019 18:16:03.625] [ReactorCluster-akka.actor.default-dispatcher-2] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion/-1] Lease Acquired. Getting state from DData
[INFO] [08/03/2019 18:16:03.625] [ReactorCluster-akka.actor.default-dispatcher-4] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion/0] Lease Acquired. Getting state from DData
[INFO] [08/03/2019 18:16:03.625] [ReactorCluster-akka.actor.default-dispatcher-17] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion/WA_6] Lease Acquired. Getting state from DData
[INFO] [08/03/2019 18:16:03.625] [ReactorCluster-akka.actor.default-dispatcher-18] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion/-9] Lease Acquired. Getting state from DData
[WARN] [08/03/2019 18:16:03.633] [ReactorCluster-akka.actor.default-dispatcher-17] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[WARN] [08/03/2019 18:16:03.634] [ReactorCluster-akka.actor.default-dispatcher-17]
[akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[INFO] [08/03/2019 18:16:03.634] [ReactorCluster-akka.actor.default-dispatcher-24] [akka://ReactorCluster/deadLetters] Message [akka.cluster.sharding.ShardRegion$StartEntity] from Actor[akka://ReactorCluster/system/sharding/shardRegion#-258038368] to Actor[akka://ReactorCluster/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior, then [Actor[akka://ReactorCluster/deadLetters]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[WARN] [08/03/2019 18:16:03.634] [ReactorCluster-akka.actor.default-dispatcher-17] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[INFO] [08/03/2019 18:16:03.634] [ReactorCluster-akka.actor.default-dispatcher-24] [akka://ReactorCluster/deadLetters] Message [akka.cluster.sharding.ShardRegion$StartEntity] from Actor[akka://ReactorCluster/system/sharding/shardRegion#-258038368] to Actor[akka://ReactorCluster/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior, then [Actor[akka://ReactorCluster/deadLetters]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[WARN] [08/03/2019 18:16:03.634] [ReactorCluster-akka.actor.default-dispatcher-17] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[INFO] [08/03/2019 18:16:03.634] [ReactorCluster-akka.actor.default-dispatcher-24] [akka://ReactorCluster/deadLetters] Message [akka.cluster.sharding.ShardRegion$StartEntity] from Actor[akka://ReactorCluster/system/sharding/shardRegion#-258038368] to Actor[akka://ReactorCluster/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior, then [Actor[akka://ReactorCluster/deadLetters]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [08/03/2019 18:16:03.634] [ReactorCluster-akka.actor.default-dispatcher-24] [akka://ReactorCluster/deadLetters] Message [akka.cluster.sharding.ShardRegion$StartEntity] from Actor[akka://ReactorCluster/system/sharding/shardRegion#-258038368] to Actor[akka://ReactorCluster/deadLetters] was not delivered. [5] dead letters encountered. If this is not an expected behavior, then [Actor[akka://ReactorCluster/deadLetters]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[WARN] [08/03/2019 18:16:05.647] [ReactorCluster-akka.actor.default-dispatcher-25] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[WARN] [08/03/2019 18:16:05.647] [ReactorCluster-akka.actor.default-dispatcher-25] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[INFO] [08/03/2019 18:16:05.647] [ReactorCluster-akka.actor.default-dispatcher-23] [akka://ReactorCluster/deadLetters] Message [akka.cluster.sharding.ShardRegion$StartEntity] from Actor[akka://ReactorCluster/system/sharding/shardRegion#-258038368] to Actor[akka://ReactorCluster/deadLetters] was not delivered. [6] dead letters encountered. If this is not an expected behavior, then [Actor[akka://ReactorCluster/deadLetters]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[WARN] [08/03/2019 18:16:05.647] [ReactorCluster-akka.actor.default-dispatcher-25] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[INFO] [08/03/2019 18:16:05.647] [ReactorCluster-akka.actor.default-dispatcher-23] [akka://ReactorCluster/deadLetters] Message [akka.cluster.sharding.ShardRegion$StartEntity] from Actor[akka://ReactorCluster/system/sharding/shardRegion#-258038368] to Actor[akka://ReactorCluster/deadLetters] was not delivered. [7] dead letters encountered. If this is not an expected behavior, then [Actor[akka://ReactorCluster/deadLetters]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[WARN] [08/03/2019 18:16:05.647] [ReactorCluster-akka.actor.default-dispatcher-25] [akka.tcp://ReactorCluster@172.24.116.211:2551/system/sharding/shardRegion] shardRegion: Shard must not be empty, dropping message [akka.cluster.sharding.ShardRegion$StartEntity]
[INFO] [08/03/2019 18:16:05.647] [ReactorCluster-akka.actor.default-dispatcher-23] [akka://ReactorCluster/deadLetters] Message [akka.cluster.sharding.ShardRegion$StartEntity] from Actor[akka://ReactorCluster/system/sharding/shardRegion#-258038368] to Actor[akka://ReactorCluster/deadLetters] was not delivered. [8] dead letters encountered. If this is not an expected behavior, then [Actor[akka://ReactorCluster/deadLetters]] may have terminated unexpectedly, This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
Below is the source code link
https://github.com/anilkumble/AkkaClusterExample
MyClusterSystem is the main class where the execution begins,
My usecase is to just re-create an entity actor when the actor system goes down