Hello Eric,

Is having the same actor system name required?
>
Yes, for a cluster to converge the cluster members should have the same
actorsystem-name.

I like to think of it as: the ActorSystem being the “universe” in which
Actors live, the cluster just allows them to live on different “planets”
(nodes) (in that abstract universe).
When you look at an actor path it also helps to reason about it - “more
left == more general”. So in akka.tcp://
[email protected]:2552/system/cluster/core/daemon,
the things that have to equal for a Cluster to be able to join another
ActorSystem are both the protocol used as well as the actorsystem-name; The
host, port, and rest of the path can (and will) differ between nodes.

Relevant lines are:
https://github.com/akka/akka/blob/master/akka-cluster/src/main/scala/akka/cluster/ClusterDaemon.scala#L392-L397

I noticed we were not very explicit about this requirement in the docs…
Will try to make it more explicit!
I hope this helps though!

PS: Do you have an use-case in mind where you might need to join
differently named actor systems into the same cluster?
-- 
Cheers,
Konrad 'ktoso' Malawski
hAkker - Typesafe, Inc

<http://www.scaladays.org/>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to