CheckpointingPolicy

Declares whether the subscriber or SubscriptionRunner manages its checkpoint.

Inheritors

Types

Link copied to clipboard
data class Auto(val subscriberId: String) : CheckpointingPolicy<Nothing>

Runner-managed checkpointing persisted under subscriberId.

Link copied to clipboard
data class Manual<CHECKPOINT : Checkpoint>(val initialCheckpoint: CHECKPOINT?) : CheckpointingPolicy<CHECKPOINT>

Subscriber-managed checkpointing, starting from the beginning when null. The subscriber must persist each successful batch's final checkpoint before returning if it relies on the next batch's preceding checkpoint as a durable generation boundary.