object Replication
- Source
- Replication.scala
- Alphabetic
- By Inheritance
- Replication
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def grpcEdgeReplication[Command, Event, State](settings: ReplicationSettings[Command], replicatedBehaviorFactory: Function[ReplicatedBehaviors[Command, Event, State], Behavior[Command]], system: ActorSystem[_]): EdgeReplication[Command]
Called to bootstrap the entity on each edge node.
Called to bootstrap the entity on each edge node. In edge mode all connections for replication comes from edge node to cloud. Cloud service needs to be configured for regular grpc replication with edge replication enabled through
ReplicationSettings#withEdgeReplication(true)
.Each edge replica must use a unique replica id.
The cloud replicas does not know about the edge replica ids up front (it should not be in their "other replicas" set).
An edge replica can connect to more than one cloud replica for redundancy (but only one is required).
- def grpcReplication[Command, Event, State](settings: ReplicationSettings[Command], replicatedBehaviorFactory: Function[ReplicatedBehaviors[Command, Event, State], Behavior[Command]], system: ActorSystem[_]): Replication[Command]
Called to bootstrap the entity on each cluster node in each of the replicas.
Called to bootstrap the entity on each cluster node in each of the replicas.
Important: Note that this does not publish the endpoint, additional steps are needed!
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def grpcReplication[Command, Event, State](settings: ReplicationSettings[Command], topicExpression: String, replicatedBehaviorFactory: Function[ReplicatedBehaviors[Command, Event, State], Behavior[Command]], system: ActorSystem[_]): Replication[Command]
Called to bootstrap the entity on each cluster node in each of the replicas.
Called to bootstrap the entity on each cluster node in each of the replicas.
Filter events matching the topic expression according to MQTT specification, including wildcards. The topic of an event is defined by a tag with certain prefix, see
topic-tag-prefix
configuration.Important: Note that this does not publish the endpoint, additional steps are needed!
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 1.5.1) Define topicExpression via settings.withProducerFilterTopicExpression
- def grpcReplication[Command, Event, State](settings: ReplicationSettings[Command], producerFilter: Predicate[EventEnvelope[Event]], replicatedBehaviorFactory: Function[ReplicatedBehaviors[Command, Event, State], Behavior[Command]], system: ActorSystem[_]): Replication[Command]
Called to bootstrap the entity on each cluster node in each of the replicas.
Called to bootstrap the entity on each cluster node in each of the replicas.
Filter events matching the
producerFilter
predicate, for example based on tags.Important: Note that this does not publish the endpoint, additional steps are needed!
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 1.5.1) Define producerFilter via settings.withProducerFilter