* 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
8 lines
210 B
Go
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)
|
|
}
|
|
|