Suppose I know which actors are part of the cluster and that this information is dynamic. Then I would do something like this to call all of them as seed nodes and join them.
val seedNodes: List[Address] = List("akka://ClusterSystem@127.0.0.1:2551", "akka://ClusterSystem@127.0.0.1:2552").map(AddressFromURIString.parse) Cluster(system).manager ! JoinSeedNodes(seedNodes)
When a node leaves, it might not do an graceful exit. In that case, Akka will figure out. When it comes back, it will join seed nodes (including itself). Is that the correct approach? Or is it better to specify itself and another node (and let the system figure out all members by itself?)