Packages

object SequencerWriterConfig

Expose config as different named versions using different default values to allow easy switching for the different setups we can run in (high-throughput, low-latency). However as each value is only a default so they can also be easily overridden if required.

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

Type Members

  1. case class HighThroughput(payloadQueueSize: Int = 1000, payloadWriteBatchMaxSize: Int = 50, payloadWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(50), payloadWriteMaxConcurrency: Int = 4, payloadToEventMargin: NonNegativeFiniteDuration = DefaultPayloadTimestampMargin, eventWriteBatchMaxSize: Int = 100, eventWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(50), commitModeValidation: Option[CommitMode] = CommitMode.Default.some, maxSqlInListSize: PositiveNumeric[Int] = DefaultMaxSqlInListSize) extends SequencerWriterConfig with Product with Serializable

    Creates batches of incoming events to minimize the number of writes to the database.

    Creates batches of incoming events to minimize the number of writes to the database. Useful for a high throughput usecase when batches will be quickly filled and written. Will be detrimental for latency if used and a lower throughput of events causes writes to always be delayed to the batch max duration.

  2. case class LowLatency(payloadQueueSize: Int = 1000, payloadWriteBatchMaxSize: Int = 1, payloadWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(10), payloadWriteMaxConcurrency: Int = 2, payloadToEventMargin: NonNegativeFiniteDuration = DefaultPayloadTimestampMargin, eventWriteBatchMaxSize: Int = 1, eventWriteBatchMaxDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMillis(20), commitModeValidation: Option[CommitMode] = CommitMode.Default.some, maxSqlInListSize: PositiveNumeric[Int] = DefaultMaxSqlInListSize) extends SequencerWriterConfig with Product with Serializable

    Use to have events immediately flushed to the database.

    Use to have events immediately flushed to the database. Useful for decreasing latency however at a high throughput a large number of writes will be detrimental for performance.

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 DefaultMaxSqlInListSize: PositiveNumeric[Int]
  5. val DefaultPayloadTimestampMargin: NonNegativeFiniteDuration
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  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