Can I get the ActorRef in any node of a cluster?


(Lubinson) #1

Hi,

If I have a cluster with two nodes. If an external message goes into one node, can I find the actor in another node which created by a early message routed to that node?

Thanks.


(Rob Crawford) #2

Read the documentation about Cluster Sharding (https://doc.akka.io/docs/akka/current/cluster-sharding.html); sharding solves this problem for you, at least so long as the actors have a stable identity.


(Lubinson) #3

Thanks, Now I know it now.