kinesis-consumer/interfaces/checkpoint.go
Harlow Ward 4e909185d1 Add Record Processor
* Add GetRecords function to Kinesis Utils
* Add sample .env to showcase ENV vars needed
* Fix RedisCheckpoint to look for empty string (default from Redis)
* Extract example code into its own repository
2014-08-03 20:11:48 -07:00

8 lines
210 B
Go

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