Interface for shard processing tasks.
Subscriber that notifies its publisher on receipt of the onNext event.
A shutdown request to the ShardConsumer
A listener for callbacks on task execution lifecycle for for a shard.
Task to block until processing of all data records in the parent shard(s) is completed.
Task for initializing shard position and invoking the ShardRecordProcessor initialize() API.
Used by the KCL to configure the lifecycle.
NoOp implementation of
Task for fetching data records and invoking processRecords() on the record processor instance.
Responsible for consuming data records of a (specified) shard.
Contains callbacks for completion of stages in a requested record processor shutdown.
Container for the parameters to the IRecordProcessor's
Notifies record processor of incoming shutdown request, and gives them a chance to checkpoint.
Task for invoking the ShardRecordProcessor shutdown() callback.
Used to capture information from a task that we want to communicate back to the higher layer.
Reason the ShardRecordProcessor is being shutdown.
Enumerates types of outcome of tasks executed as part of processing a shard.
Enumerates types of tasks executed as part of processing a shard.
Copyright © 2021. All rights reserved.