Documentation ¶
Index ¶
- func NewSource() sdk.Source
- type Iterator
- type Source
- 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, position sdk.Position) error
- func (s *Source) Parameters() map[string]sdk.Parameter
- func (s *Source) Read(_ 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 }
A Source represents the source connector.
func (*Source) Configure ¶
Configure parses and stores configurations, returns an error in case of invalid configuration.
func (*Source) Parameters ¶
Parameters returns a map of named Parameters that describe how to configure the Source.
Click to show internal directories.
Click to hide internal directories.