Documentation ¶
Index ¶
- func NewSource() sdk.Source
- type Iterator
- type Source
- func (s *Source) Ack(ctx context.Context, pos sdk.Position) error
- func (s *Source) Configure(ctx context.Context, cfg map[string]string) error
- func (s *Source) Open(ctx context.Context, pos sdk.Position) 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Source ¶
type Source struct { sdk.UnimplementedSource // contains filtered or unexported fields }
Source connector
func (*Source) Configure ¶
Configure parses and stores the configurations returns an error in case of invalid config
func (*Source) Parameters ¶
Parameters is a map of named Parameters that describe how to configure the Source.
Click to show internal directories.
Click to hide internal directories.