Documentation ¶
Index ¶
- func BinlogPositionValueDecoder(s string) (interface{}, error)
- func BinlogPositionValueEncoder(v interface{}) (string, error)
- func GetInputFromPlugin(pluginName string, pipelineName string, data map[string]interface{}) (core.Input, error)
- func GetProbCfg(sourceProbeCfg *SourceProbeCfg, sourceDBCfg *config.DBConfig) (*config.DBConfig, string)
- func NewTwoStageInputPlugin(full, incremental core.Input) (core.Input, error)
- func SerializeBinlogPositionValue(position BinlogPositionsValue) (string, error)
- type BinlogPositionsValue
- type SourceProbeCfg
- type TwoStageInputPlugin
- func (i *TwoStageInputPlugin) Close()
- func (i *TwoStageInputPlugin) Done() chan position_repos.Position
- func (i *TwoStageInputPlugin) NewPositionCache() (position_cache.PositionCacheInterface, error)
- func (i *TwoStageInputPlugin) SendDeadSignal() error
- func (i *TwoStageInputPlugin) Stage() config.InputMode
- func (i *TwoStageInputPlugin) Start(emitter core.Emitter, router core.Router, ...) error
- func (i *TwoStageInputPlugin) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinlogPositionValueDecoder ¶ added in v0.9.19
func BinlogPositionValueEncoder ¶ added in v0.9.19
func GetInputFromPlugin ¶ added in v0.9.25
func GetProbCfg ¶ added in v0.9.17
func NewTwoStageInputPlugin ¶
func SerializeBinlogPositionValue ¶ added in v0.9.17
func SerializeBinlogPositionValue(position BinlogPositionsValue) (string, error)
Types ¶
type BinlogPositionsValue ¶ added in v0.9.17
type BinlogPositionsValue struct { CurrentPosition *config.MySQLBinlogPosition `json:"current_position"` StartPosition *config.MySQLBinlogPosition `json:"start_position"` }
func DeserializeBinlogPositionValue ¶ added in v0.9.17
func DeserializeBinlogPositionValue(value string) (BinlogPositionsValue, error)
type SourceProbeCfg ¶ added in v0.9.17
type TwoStageInputPlugin ¶
type TwoStageInputPlugin struct {
// contains filtered or unexported fields
}
func (*TwoStageInputPlugin) Close ¶
func (i *TwoStageInputPlugin) Close()
func (*TwoStageInputPlugin) Done ¶
func (i *TwoStageInputPlugin) Done() chan position_repos.Position
func (*TwoStageInputPlugin) NewPositionCache ¶ added in v0.9.17
func (i *TwoStageInputPlugin) NewPositionCache() (position_cache.PositionCacheInterface, error)
func (*TwoStageInputPlugin) SendDeadSignal ¶
func (i *TwoStageInputPlugin) SendDeadSignal() error
func (*TwoStageInputPlugin) Stage ¶
func (i *TwoStageInputPlugin) Stage() config.InputMode
func (*TwoStageInputPlugin) Start ¶
func (i *TwoStageInputPlugin) Start(emitter core.Emitter, router core.Router, positionCache position_cache.PositionCacheInterface) error
func (*TwoStageInputPlugin) Wait ¶
func (i *TwoStageInputPlugin) Wait()
Click to show internal directories.
Click to hide internal directories.