object Config extends Serializable
- Source
- KCLConsumer.scala
- Alphabetic
- By Inheritance
- Config
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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() @IntrinsicCandidate()
- def configsBuilder[F[_]](kinesisClient: KinesisAsyncClient, dynamoClient: DynamoDbAsyncClient, cloudWatchClient: CloudWatchAsyncClient, streamTracker: StreamTracker, appName: String, workerId: String = Utils.randomUUIDString, processConfig: ProcessConfig = ProcessConfig.default)(cb: (List[CommittableRecord[F]]) => F[Unit])(tfn: (Config[F]) => Config[F] = (x: Config[F]) => x)(implicit F: Async[F], encoders: LogEncoders): Resource[F, Config[F]]
Constructor for the KCLConsumer.Config that leverages the ConfigsBuilder from the KCL.
Constructor for the KCLConsumer.Config that leverages the ConfigsBuilder from the KCL. This is a simpler entry-point for creating the configuration, and provides a transform function to add any custom configuration that was not covered by the default
- kinesisClient
- dynamoClient
- cloudWatchClient
- streamTracker
StreamTracker to use, which defines the name of the stream(s) and the initial position within them
- appName
Name of the application. Usually also the dynamo table name for checkpoints
- workerId
Unique identifier for a single instance of this consumer. Default is a random UUID.
- processConfig
- cb
Function to process CommittableRecords received from Kinesis
- tfn
Function to update the KCLConsumer.Config. Useful for overriding defaults.
- F
Async instance
- encoders
RecordProcessor.LogEncoders for encoding structured logs
- def create[F[_]](checkpointConfig: CheckpointConfig, coordinatorConfig: CoordinatorConfig, leaseManagementConfig: LeaseManagementConfig, lifecycleConfig: LifecycleConfig, metricsConfig: MetricsConfig, retrievalConfig: RetrievalConfig, processConfig: ProcessConfig = ProcessConfig.default)(cb: (List[CommittableRecord[F]]) => F[Unit])(implicit F: Async[F], encoders: LogEncoders): Resource[F, Config[F]]
Low-level constructor for KCLConsumer.Config.
Low-level constructor for KCLConsumer.Config.
- checkpointConfig
- coordinatorConfig
- leaseManagementConfig
- lifecycleConfig
- metricsConfig
- retrievalConfig
- processConfig
- cb
Function to process CommittableRecords received from Kinesis
- F
Async instance
- encoders
RecordProcessor.LogEncoders for encoding structured logs
- returns
Resource containing the KCLConsumer.Config
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])