object ReplicationSettings
- Alphabetic
- By Inheritance
- ReplicationSettings
- 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
- def apply[Command](entityTypeName: String, replicationProjectionProvider: ReplicationProjectionProvider)(implicit system: ActorSystem[_], classTag: ClassTag[Command]): ReplicationSettings[Command]
Create settings from config, the system config is expected to contain a block with the entity type key name.
Create settings from config, the system config is expected to contain a block with the entity type key name. Each replica is further expected to have a top level config entry 'akka.grpc.client.[replica-id]' with Akka gRPC client config for reaching the replica from the other replicas.
- def apply[Command](entityTypeName: String, selfReplicaId: ReplicaId, eventProducerSettings: EventProducerSettings, replicas: Set[Replica], entityEventReplicationTimeout: FiniteDuration, parallelUpdates: Int, replicationProjectionProvider: ReplicationProjectionProvider)(implicit arg0: ClassTag[Command]): ReplicationSettings[Command]
Settings for replicating an entity over gRPC
Settings for replicating an entity over gRPC
Note: The replica ids and the entity type name is used as id in offset tracking, changing those will replay events from the start.
- entityTypeName
A name for the type of replicated entity
- selfReplicaId
The replica id of this node, must not be present among 'otherReplicas'
- eventProducerSettings
Event producer settings for the event stream published by this replica
- replicas
One entry for each remote replica to replicate into this replica
- entityEventReplicationTimeout
A timeout for the replication event, needs to be large enough for the time of sending a message across sharding and persisting it in the local replica of an entity. Hitting this timeout means the entire replication stream will back off and restart.
- parallelUpdates
Maximum number of parallel updates sent over sharding to the destination entities
- replicationProjectionProvider
A factory for the projection used to keep track of offsets when consuming replicated events
- 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 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])