Documentation
¶
Index ¶
- Constants
- func NewSource() sdk.Source
- type Config
- type Iterator
- type Source
- func (s *Source) Ack(ctx context.Context, position opencdc.Position) error
- func (s *Source) Config() sdk.SourceConfig
- func (s *Source) Open(ctx context.Context, rp opencdc.Position) error
- func (s *Source) Read(ctx context.Context) (opencdc.Record, error)
- func (s *Source) Teardown(_ context.Context) error
Constants ¶
View Source
const (
// ConfigKeyPollingPeriod is the config name for the S3 CDC polling period
ConfigKeyPollingPeriod = "pollingPeriod"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { sdk.DefaultSourceMiddleware config.Config // polling period for the CDC mode, formatted as a time.Duration string. PollingPeriod time.Duration `json:"pollingPeriod" default:"1s"` }
Config represents source configuration with S3 configurations
type Source ¶
type Source struct { sdk.UnimplementedSource // contains filtered or unexported fields }
Source connector
func (*Source) Config ¶ added in v0.9.0
func (s *Source) Config() sdk.SourceConfig
Click to show internal directories.
Click to hide internal directories.