ClusterClientReceptionist

org.apache.pekko.cluster.client.ClusterClientReceptionist
See theClusterClientReceptionist companion object

Extension that starts ClusterReceptionist and accompanying pekko.cluster.pubsub.DistributedPubSubMediator with settings defined in config section pekko.cluster.client.receptionist. The pekko.cluster.pubsub.DistributedPubSubMediator is started by the pekko.cluster.pubsub.DistributedPubSub extension.

Attributes

Companion
object
Deprecated
[Since version Akka 2.6.0]
Source
ClusterClient.scala
Graph
Supertypes
trait Extension
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Returns true if this member is not tagged with the role configured for the receptionist.

Returns true if this member is not tagged with the role configured for the receptionist.

Attributes

Source
ClusterClient.scala

Register an actor that should be reachable for the clients. The clients can send messages to this actor with Send or SendToAll using the path elements of the ActorRef, e.g. "/user/myservice".

Register an actor that should be reachable for the clients. The clients can send messages to this actor with Send or SendToAll using the path elements of the ActorRef, e.g. "/user/myservice".

Attributes

Source
ClusterClient.scala
def registerSubscriber(topic: String, actor: ActorRef): Unit

Register an actor that should be reachable for the clients to a named topic. Several actors can be registered to the same topic name, and all will receive published messages. The client can publish messages to this topic with Publish.

Register an actor that should be reachable for the clients to a named topic. Several actors can be registered to the same topic name, and all will receive published messages. The client can publish messages to this topic with Publish.

Attributes

Source
ClusterClient.scala

Returns the underlying receptionist actor, particularly so that its events can be observed via subscribe/unsubscribe.

Returns the underlying receptionist actor, particularly so that its events can be observed via subscribe/unsubscribe.

Attributes

Source
ClusterClient.scala

A registered actor will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.

A registered actor will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.

Attributes

Source
ClusterClient.scala
def unregisterSubscriber(topic: String, actor: ActorRef): Unit

A registered subscriber will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.

A registered subscriber will be automatically unregistered when terminated, but it can also be explicitly unregistered before termination.

Attributes

Source
ClusterClient.scala