Packages

final class ReplicationSettings[Command] extends AnyRef

Not for user extension. Constructed through companion object factories.

Annotations
@ApiMayChange()
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. val acceptEdgeReplication: Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. def configureEntity(configure: (Entity[Command, ShardingEnvelope[Command]]) => Entity[Command, ShardingEnvelope[Command]]): ReplicationSettings[Command]

    Allows for changing the settings of the replicated entity, such as stop message, passivation strategy etc.

  8. val configureEntity: (Entity[Command, ShardingEnvelope[Command]]) => Entity[Command, ShardingEnvelope[Command]]
  9. val edgeReplicationDeliveryMaxBackoff: FiniteDuration
  10. val edgeReplicationDeliveryMinBackoff: FiniteDuration
  11. val edgeReplicationDeliveryRetries: Int
  12. val entityEventReplicationTimeout: FiniteDuration
  13. val entityTypeKey: EntityTypeKey[Command]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. val eventProducerInterceptor: Option[EventProducerInterceptor]
  17. val eventProducerSettings: EventProducerSettings
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. val initialConsumerFilter: Seq[FilterCriteria]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. val otherReplicas: Set[Replica]
  26. val parallelUpdates: Int
  27. val producerFilter: (EventEnvelope[Any]) => Boolean
  28. val projectionProvider: ReplicationProjectionProvider
  29. val selfReplicaId: ReplicaId
  30. val streamId: String
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    ReplicationSettings → AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. def withEdgeReplication(edgeReplicationAllowed: Boolean): ReplicationSettings[Command]

    Allow edge replicas to connect and replicate updates, default is to not allow.

  37. def withEdgeReplicationDeliveryMaxBackoff(maxBackoff: FiniteDuration): ReplicationSettings[Command]
  38. def withEdgeReplicationDeliveryMinBackoff(minBackoff: FiniteDuration): ReplicationSettings[Command]
  39. def withEdgeReplicationDeliveryRetries(retries: Int): ReplicationSettings[Command]

    Replicated event sourcing from edge sends each event over sharding, in case that delivery fails or times out, retry this number of times

  40. def withEntityEventReplicationTimeout(duration: FiniteDuration): ReplicationSettings[Command]

    Set the timeout for events being completely processed after arriving to a node in the replication stream

  41. def withEventProducerInterceptor(interceptor: EventProducerInterceptor): ReplicationSettings[Command]

    Add an interceptor to the gRPC event producer for example for authentication of incoming requests

  42. def withEventProducerSettings(eventProducerSettings: EventProducerSettings): ReplicationSettings[Command]
  43. def withInitialConsumerFilter(initialConsumerFilter: Seq[FilterCriteria]): ReplicationSettings[Command]

    Set the initial consumer filter to use for events.

    Set the initial consumer filter to use for events. Should only be used for static, up front consumer filters. Combining this with updating consumer filters directly means that the filters may be reset to these filters.

  44. def withOtherReplicas(replicas: Set[Replica]): ReplicationSettings[Command]
  45. def withParallelUpdates(parallelUpdates: Int): ReplicationSettings[Command]

    Run up to this many parallel updates over sharding.

    Run up to this many parallel updates over sharding. Note however that updates for the same persistence id is always sequential.

  46. def withProducerFilter[Event](producerFilter: (EventEnvelope[Event]) => Boolean): ReplicationSettings[Command]

    Filter events matching the producerFilter predicate, for example based on tags.

  47. def withProducerFilterTopicExpression(topicExpression: String): ReplicationSettings[Command]

    Filter events matching the topic expression according to MQTT specification, including wildcards.

    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.

  48. def withProjectionProvider(projectionProvider: ReplicationProjectionProvider): ReplicationSettings[Command]

    Change projection provider

  49. def withSelfReplicaId(selfReplicaId: ReplicaId): ReplicationSettings[Command]
  50. def withStreamId(streamId: String): ReplicationSettings[Command]

Deprecated Value Members

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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped