kinesis-consumer/checkpoints/checkpoint.go

9 lines
208 B
Go
Raw Normal View History

package checkpoints
type Checkpoint interface {
CheckpointExists(streamName string, shardID string) bool
SequenceNumber() string
SetCheckpoint(streamName string, shardID string, sequenceNumber string)
}