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. 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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HighThroughput
- Serializable
- Product
- Equals
- SequencerWriterConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new 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)
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]) @native() @HotSpotIntrinsicCandidate()
- val commitModeValidation: Option[CommitMode]
- Definition Classes
- HighThroughput → SequencerWriterConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val eventWriteBatchMaxDuration: NonNegativeFiniteDuration
- Definition Classes
- HighThroughput → SequencerWriterConfig
- val eventWriteBatchMaxSize: Int
- Definition Classes
- HighThroughput → SequencerWriterConfig
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxSqlInListSize: PositiveNumeric[Int]
- Definition Classes
- HighThroughput → SequencerWriterConfig
- def modify(payloadQueueSize: Int = this.payloadQueueSize, payloadWriteBatchMaxSize: Int = this.payloadWriteBatchMaxSize, payloadWriteBatchMaxDuration: NonNegativeFiniteDuration = this.payloadWriteBatchMaxDuration, payloadWriteMaxConcurrency: Int = this.payloadWriteMaxConcurrency, payloadToEventMargin: NonNegativeFiniteDuration = this.payloadToEventMargin, eventWriteBatchMaxSize: Int = this.eventWriteBatchMaxSize, eventWriteBatchMaxDuration: NonNegativeFiniteDuration = this.eventWriteBatchMaxDuration, commitModeValidation: Option[CommitMode] = this.commitModeValidation, maxSqlInListSize: PositiveNumeric[Int] = this.maxSqlInListSize): SequencerWriterConfig
- Definition Classes
- SequencerWriterConfig
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val payloadQueueSize: Int
- Definition Classes
- HighThroughput → SequencerWriterConfig
- val payloadToEventMargin: NonNegativeFiniteDuration
- Definition Classes
- HighThroughput → SequencerWriterConfig
- val payloadWriteBatchMaxDuration: NonNegativeFiniteDuration
- Definition Classes
- HighThroughput → SequencerWriterConfig
- val payloadWriteBatchMaxSize: Int
- Definition Classes
- HighThroughput → SequencerWriterConfig
- val payloadWriteMaxConcurrency: Int
- Definition Classes
- HighThroughput → SequencerWriterConfig
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])