mysqlbinlog

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckPoint

type CheckPoint struct {
	IndexFileDir   string
	BinlogFileName string
	Offset         int
}

type InputMysqlBinlog

type InputMysqlBinlog struct {
	IndexFilePath      string
	FromBegining       bool
	AutoMap            bool
	MaxSendEventPerSec int
	IntervalMs         int
	RowMode            bool
	// contains filtered or unexported fields
}

func (*InputMysqlBinlog) BinlogEventToLog

func (b *InputMysqlBinlog) BinlogEventToLog(event *replication.BinlogEvent) error

BinlogEventToLog is a callback for replication.parser.ParseFile to accept bin log events.

func (*InputMysqlBinlog) Collect

func (b *InputMysqlBinlog) Collect(collector ilogtail.Collector) error

func (*InputMysqlBinlog) Description

func (b *InputMysqlBinlog) Description() string

func (*InputMysqlBinlog) Init

func (b *InputMysqlBinlog) Init(context ilogtail.Context) (int, error)

Jump to

Keyboard shortcuts

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