Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIteratorDone = errors.New("snapshot complete")
Functions ¶
This section is empty.
Types ¶
type FetchConfig ¶
type FetchConfig struct {
Table string
Key string
TXSnapshotID string
FetchSize int
Position position.Position
WithAvroSchema bool
}
func (FetchConfig) Validate ¶
func (c FetchConfig) Validate() error
type FetchData ¶
type FetchData struct {
Key opencdc.StructuredData
Payload opencdc.StructuredData
Position position.SnapshotPosition
Table string
PayloadSchema cschema.Schema
KeySchema cschema.Schema
}
type FetchWorker ¶
type FetchWorker struct {
// contains filtered or unexported fields
}
FetchWorker fetches snapshot data from a single table
func NewFetchWorker ¶
func NewFetchWorker(db *pgxpool.Pool, out chan<- FetchData, c FetchConfig) *FetchWorker
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
Click to show internal directories.
Click to hide internal directories.