mariadb

package
v0.0.0-...-9dd8ad0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MariaDBEventHandler

type MariaDBEventHandler struct {
	canal.DummyEventHandler
	// contains filtered or unexported fields
}

func (*MariaDBEventHandler) OnPosSynced

func (h *MariaDBEventHandler) OnPosSynced(header *replication.EventHeader, pos mysql.Position, gs mysql.GTIDSet, force bool) error

OnPosSynced does not write positions here; we use the timer approach instead

func (*MariaDBEventHandler) OnRow

func (*MariaDBEventHandler) String

func (h *MariaDBEventHandler) String() string

type MariaDBSyncer

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

MariaDBSyncer is the structure for MariaDB synchronization

func NewMariaDBSyncer

func NewMariaDBSyncer(cfg config.SyncConfig, logger *logrus.Logger) *MariaDBSyncer

func (*MariaDBSyncer) Start

func (s *MariaDBSyncer) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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