helper

package
v0.9.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProbCfg added in v0.9.17

func GetProbCfg(sourceProbeCfg *SourceProbeCfg, sourceDBCfg *utils.DBConfig) (*utils.DBConfig, string)

func NewTwoStageInputPlugin

func NewTwoStageInputPlugin(full, incremental core.Input) (core.Input, error)

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 SourceProbeCfg struct {
	SourceMySQL *utils.DBConfig `mapstructure:"mysql"json:"mysql"`
	Annotation  string          `mapstructure:"annotation"json:"annotation"`
}

type TwoStageInputPlugin

type TwoStageInputPlugin struct {
	// contains filtered or unexported fields
}

func (*TwoStageInputPlugin) Close

func (i *TwoStageInputPlugin) Close()

func (*TwoStageInputPlugin) Done

func (*TwoStageInputPlugin) NewPositionCache added in v0.9.17

func (*TwoStageInputPlugin) SendDeadSignal

func (i *TwoStageInputPlugin) SendDeadSignal() error

func (*TwoStageInputPlugin) Stage

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL