CommittableRecord

fs2.aws.kinesis.CommittableRecord
See theCommittableRecord companion object
case class CommittableRecord(shardId: String, recordProcessorStartingSequenceNumber: ExtendedSequenceNumber, millisBehindLatest: Long, record: KinesisClientRecord, recordProcessor: ChunkedRecordProcessor, checkpointer: RecordProcessorCheckpointer, lastRecordSemaphore: Semaphore, isLastInShard: Boolean)

A message type from Kinesis which has not yet been commited or checkpointed.

Value parameters

checkpointer

reference to the checkpointer used to commit this record

millisBehindLatest

ms behind the latest record, used to detect if the consumer is lagging the producer

record

the original record document from Kinesis

recordProcessor

reference to the record processor that is responsible for processing this message

shardId

the unique identifier for the shard from which this record originated

Attributes

Constructor

create a new commitable record with a name and age.

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def canCheckpoint[F[_]](using evidence$1: Sync[F]): F[Boolean]
def checkpoint[F[_]](using evidence$2: Sync[F]): F[Unit]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val sequenceNumber: String
val subSequenceNumber: Long