Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OffsetStorage ¶
type OffsetStorage interface { SetOffsetForPipeline(key string, offset int64) error GetOffsetByPipelineStream(key string) (int64, error) }
OffsetStorage is used to store checkpoints/offsets for source connectors which use incremental sync by primary keys
func NewOffsetStorage ¶
func NewOffsetStorage(storageURI string) OffsetStorage
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) GetOffsetByPipelineStream ¶
type StorageInMem ¶
type StorageInMem struct {
// contains filtered or unexported fields
}
func NewStorageInMem ¶
func NewStorageInMem() *StorageInMem
func (*StorageInMem) GetOffsetByPipelineStream ¶
func (o *StorageInMem) GetOffsetByPipelineStream(key string) (int64, error)
func (*StorageInMem) SetOffsetForPipeline ¶
func (o *StorageInMem) SetOffsetForPipeline(key string, offset int64) error
Click to show internal directories.
Click to hide internal directories.