public interface IRecordProcessorCheckpointer
| Modifier and Type | Method and Description |
|---|---|
void |
checkpoint()
This method will checkpoint the progress at the last data record that was delivered to the record processor.
|
void checkpoint()
throws KinesisClientLibDependencyException,
InvalidStateException,
ThrottlingException,
ShutdownException
ThrottlingException - Can't store checkpoint. Can be caused by checkpointing too frequently.
Consider increasing the throughput/capacity of the checkpoint store or reducing checkpoint frequency.ShutdownException - The record processor instance has been shutdown. Another instance may have
started processing some of these records already.
The application should abort processing via this RecordProcessor instance.InvalidStateException - Can't store checkpoint.
Unable to store the checkpoint in the DynamoDB table (e.g. table doesn't exist).KinesisClientLibDependencyException - Encountered an issue when storing the checkpoint. The application can
backoff and retry.