RecordProcessor

fs2.aws.dynamodb.RecordProcessor
class RecordProcessor(cb: CommittableRecord => Unit) extends IRecordProcessor

Concrete implementation of the AWS RecordProcessor interface. Wraps incoming records into CommitableRecord types to allow for downstream checkpointing

Attributes

cb

callback function to run on record receive, passing the new CommittableRecord

Constructor:

create a new instance with a callback function to perform on record receive

Graph
Supertypes
trait IRecordProcessor
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def initialize(initializationInput: InitializationInput): Unit

Attributes

Definition Classes
IRecordProcessor
def isShutdown: Boolean
override def processRecords(processRecordsInput: ProcessRecordsInput): Unit

Attributes

Definition Classes
IRecordProcessor
override def shutdown(shutdownInput: ShutdownInput): Unit

Attributes

Definition Classes
IRecordProcessor

Concrete fields

var latestCheckpointer: Option[IRecordProcessorCheckpointer]
var shutdown: Option[ShutdownReason]