Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckpointManager ¶
type CheckpointManager interface { GetCheckpoint(Id string) (string, time.Time, error) SetCheckpoint(Id string, sequenceNumber string) error }
func GetDefaultCheckpointManager ¶
func GetDefaultCheckpointManager(config config.Config) (CheckpointManager, error)
type DynamoCheckpointManager ¶
type DynamoCheckpointManager struct { sync.Mutex StorageConfig // contains filtered or unexported fields }
func (*DynamoCheckpointManager) GetCheckpoint ¶
func (*DynamoCheckpointManager) SetCheckpoint ¶
func (cm *DynamoCheckpointManager) SetCheckpoint(Id string, sequenceNumber string) error
type InMemoryCheckpointManager ¶
type InMemoryCheckpointManager struct { sync.Mutex StorageConfig // contains filtered or unexported fields }
func (*InMemoryCheckpointManager) GetCheckpoint ¶
func (*InMemoryCheckpointManager) SetCheckpoint ¶
func (cm *InMemoryCheckpointManager) SetCheckpoint(Id string, sequenceNumber string) error
type StorageConfig ¶
type StorageConfig struct { Env string StorageType string Table string Region string UpdateFrequencySeconds int }
func GetStorageConfig ¶
func GetStorageConfig(config config.Config) StorageConfig
Click to show internal directories.
Click to hide internal directories.