Major changes: * Remove intermediate batching of kinesis records * Call the callback func with each record * Use functional options for config https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis Minor changes: * update README messaging about Kinesis -> Firehose functionality * remove unused buffer and emitter code
9 lines
281 B
Go
9 lines
281 B
Go
package checkpoint
|
|
|
|
// Checkpoint interface for functions that checkpoints need to
|
|
// implement in order to track consumer progress.
|
|
type Checkpoint interface {
|
|
CheckpointExists(shardID string) bool
|
|
SequenceNumber() string
|
|
SetCheckpoint(shardID string, sequenceNumber string)
|
|
}
|