package kcl
- Alphabetic
- Public
- Protected
Type Members
- final case class CommittableRecord[F[_]](shardId: String, recordProcessorStartingSequenceNumber: ExtendedSequenceNumber, millisBehindLatest: Long, record: KinesisClientRecord, recordProcessor: RecordProcessor[F], checkpointer: RecordProcessorCheckpointer, lastRecordDeferred: Deferred[F, Unit], isLastInShard: Boolean = false)(implicit F: Sync[F]) extends Product with Serializable
A message from Kinesis that is able to be committed.
A message from Kinesis that is able to be committed.
- shardId
The unique identifier for the shard from which this record originated
- recordProcessorStartingSequenceNumber
The starting sequence number for the RecordProcessor which received this record
- millisBehindLatest
Milleseconds behind the latest record, used to detect if the consumer is lagging the producer
- record
KinesisClientRecord representing the original record received by Kinesis.
- recordProcessor
Reference to the RecordProcessor that is responsible for processing this message
- checkpointer
Reference to the RecordProcessorCheckpointer responsible for committing the record
- class KCLConsumer[F[_]] extends AnyRef
Wrapper offering for the KCL
- class RecordProcessor[F[_]] extends ShardRecordProcessor
An implementation of the ShardRecordProcessor interface, with some additional logic for raising exceptions, processing + committing records and logging results.
Value Members
- object CommittableRecord extends Serializable
- object KCLConsumer
- object RecordProcessor
- object WorkerListeners