blender

package
v0.0.0-...-86dfa72 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CanalTask

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

func NewMySQLCanalTask

func NewMySQLCanalTask(t *task.Task) *CanalTask

func (*CanalTask) GetDelay

func (t *CanalTask) GetDelay() uint32

func (*CanalTask) Running

func (t *CanalTask) Running() bool

func (*CanalTask) Start

func (t *CanalTask) Start() error

Start 开始任务, 如果任务中包含全量, 则新起slave 监听 待dump 完成, 同时停掉已有任务,以 修改原来连接上的任务, 比较 dump 与 之前binlog监听的位点, 取位点较小的做为 下次启动开始消费的点

func (*CanalTask) Stop

func (t *CanalTask) Stop()

Stop 停止任务, 停止canal的消费,取消slave监听, 停掉的时候需要记录 binlog position

Jump to

Keyboard shortcuts

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