Versions in this module Expand all Collapse all v0 v0.1.0 May 21, 2024 Changes in this version + const ConfigKeyBatchSize + const ConfigKeyColumns + const ConfigKeyKeyColumn + const ConfigKeyOrderingColumn + const ConfigKeySnapshot + func NewSource() sdk.Source + type Config struct + BatchSize int + Columns []string + KeyColumn string + OrderingColumn string + Snapshot bool + func ParseConfig(cfg map[string]string) (Config, error) + type Iterator interface + HasNext func(ctx context.Context) (bool, error) + Next func(ctx context.Context) (sdk.Record, error) + Stop func(ctx context.Context) error + type Source struct + func (s *Source) Ack(ctx context.Context, position sdk.Position) error + func (s *Source) Configure(_ context.Context, cfgRaw map[string]string) (err error) + func (s *Source) Open(ctx context.Context, sdkPosition sdk.Position) (err error) + func (s *Source) Parameters() map[string]sdk.Parameter + func (s *Source) Read(ctx context.Context) (sdk.Record, error) + func (s *Source) Teardown(ctx context.Context) error