Packages

object ReplicationSettings

Source
ReplicationSettings.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicationSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def create[Command](commandClass: Class[Command], entityTypeName: String, replicationProjectionProvider: ReplicationProjectionProvider, system: ActorSystem[_]): 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.

  7. def create[Command](commandClass: Class[Command], entityTypeName: String, selfReplicaId: ReplicaId, eventProducerSettings: EventProducerSettings, replicas: Set[Replica], entityEventReplicationTimeout: Duration, parallelUpdates: Int, replicationProjectionProvider: ReplicationProjectionProvider): 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 replica to replicate into this replica (if it contains self replica id that is filtered out) to create the otherReplicas set.

    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

    Factory for the projection to use on the consuming side

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped