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 *utils.DBConfig) (*utils.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_store.Position
- func (i *TwoStageInputPlugin) NewPositionCache() (position_store.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 *utils.MySQLBinlogPosition `json:"current_position"` StartPosition *utils.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_store.Position
func (*TwoStageInputPlugin) NewPositionCache ¶ added in v0.9.17
func (i *TwoStageInputPlugin) NewPositionCache() (position_store.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_store.PositionCacheInterface) error
func (*TwoStageInputPlugin) Wait ¶
func (i *TwoStageInputPlugin) Wait()
Click to show internal directories.
Click to hide internal directories.