ClusterClient connects to this actor to retrieve. The ClusterReceptionist is
supposed to be started on all nodes, or all nodes with specified role, in the cluster.
The receptionist can be started with the ClusterClientReceptionist or as an
ordinary actor (use the factory method ClusterReceptionist#props).
Response messages from the destination actor are tunneled via the receptionist
to avoid inbound connections from other cluster nodes to the client, i.e.
the sender(), as seen by the destination actor, is not the client itself.
The sender() of the response messages, as seen by the client, is deadLetters
since the client should normally send subsequent messages via the ClusterClient.
It is possible to pass the original sender inside the reply messages if
the client is supposed to communicate directly to the actor in the cluster.
This member is added by an implicit conversion from ClusterReceptionist to
any2stringadd[ClusterReceptionist] performed by method any2stringadd in scala.Predef.
This member is added by an implicit conversion from ClusterReceptionist to
ArrowAssoc[ClusterReceptionist] performed by method ArrowAssoc in scala.Predef.
This member is added by an implicit conversion from ClusterReceptionist to
StringFormat[ClusterReceptionist] performed by method StringFormat in scala.Predef.
This member is added by an implicit conversion from ClusterReceptionist to
ArrowAssoc[ClusterReceptionist] performed by method ArrowAssoc in scala.Predef.
ClusterClient connects to this actor to retrieve. The
ClusterReceptionist
is supposed to be started on all nodes, or all nodes with specified role, in the cluster. The receptionist can be started with the ClusterClientReceptionist or as an ordinary actor (use the factory method ClusterReceptionist#props).The receptionist forwards messages from the client to the associated akka.cluster.pubsub.DistributedPubSubMediator, i.e. the client can send messages to any actor in the cluster that is registered in the
DistributedPubSubMediator
. Messages from the client are wrapped in akka.cluster.pubsub.DistributedPubSubMediator.Send, akka.cluster.pubsub.DistributedPubSubMediator.SendToAll or akka.cluster.pubsub.DistributedPubSubMediator.Publish with the semantics described in akka.cluster.pubsub.DistributedPubSubMediator.Response messages from the destination actor are tunneled via the receptionist to avoid inbound connections from other cluster nodes to the client, i.e. the
sender()
, as seen by the destination actor, is not the client itself. Thesender()
of the response messages, as seen by the client, isdeadLetters
since the client should normally send subsequent messages via theClusterClient
. It is possible to pass the original sender inside the reply messages if the client is supposed to communicate directly to the actor in the cluster.