Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMysqlSourcePlugin ¶
func NewMysqlSourcePlugin(config Config, sCh []schema.StreamSchema) sources.DataSource
Types ¶
type Config ¶
type Config struct { Host string `json:"host" yaml:"host"` Port uint16 `json:"port" yaml:"port"` Database string `json:"database" yaml:"database"` User string `json:"user" yaml:"user"` Password string `json:"password" yaml:"password"` Flavor string `json:"flavor" yaml:"flavor"` StreamSnapshot bool `json:"stream_snapshot" yaml:"stream_snapshot"` }
type DataTableSchema ¶
type ProcessEventParams ¶
type ProcessEventParams struct {
// contains filtered or unexported fields
}
type SourcePlugin ¶
type SourcePlugin struct { canal.DummyEventHandler // contains filtered or unexported fields }
func (*SourcePlugin) Events ¶
func (p *SourcePlugin) Events() chan sources.MessageEvent
func (*SourcePlugin) Start ¶
func (p *SourcePlugin) Start()
func (*SourcePlugin) Stop ¶
func (p *SourcePlugin) Stop()
Click to show internal directories.
Click to hide internal directories.