kinesis-consumer/checkpoint/checkpoint.go

9 lines
247 B
Go
Raw Normal View History

package checkpoint
// Checkpoint interface used to allow swappable backends for checkpoining
// consumer progress in the stream.
type Checkpoint interface {
Get(shardID string) (string, error)
Set(shardID string, sequenceNumber string) error
}