object KCLConsumerFS2
- Source
- KCLConsumerFS2.scala
- Alphabetic
- By Inheritance
- KCLConsumerFS2
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Builder[F[_]] extends Product with Serializable
- final case class Config[F[_]] extends Product with Serializable
Configuration for the KCLConsumerFS2
- final case class FS2Config(queueSize: Int, commitMaxChunk: Int, commitMaxWait: FiniteDuration, commitMaxRetries: Int, commitRetryInterval: FiniteDuration) extends Product with Serializable
Configuration for the FS2 implementation
Configuration for the FS2 implementation
- queueSize
Size of the underlying queue for the FS2 stream. If the queue fills up, backpressure on the processors will occur. Default 100
- commitMaxChunk
Max records to be received in the commitRecords Pipe before a commit is run. Default is 1000
- commitMaxWait
Max duration to wait in commitRecords Pipe before a commit is run. Default is 10 seconds
- commitMaxRetries
Max number of retries for a commit operation
- commitRetryInterval
Interval to wait between commit retries
- final case class StreamAndDeferred[F[_]](stream: Stream[F, CommittableRecord[F]], deferred: Deferred[F, Unit]) extends Product with Serializable
Helper class that holds both an fs2.Stream and a Deferred
Helper class that holds both an fs2.Stream and a Deferred
- stream
fs2.Stream of kinesis4cats.kcl.CommittableRecord values to process
- deferred
Deferred which will complete when a defined WorkerState is recognized.
- final case class StreamAndRef[F[_]](stream: Stream[F, CommittableRecord[F]], ref: Ref[F, WorkerState]) extends Product with Serializable
Helper class that holds both an fs2.Stream and a Ref of the WorkerState
Helper class that holds both an fs2.Stream and a Ref of the WorkerState
- stream
fs2.Stream of kinesis4cats.kcl.CommittableRecord values to process
- ref
Ref that contains the current WorkerState
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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- object Builder extends Serializable
- object FS2Config extends Serializable