canal

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaDockerEnv

type KafkaDockerEnv struct {
	framework.DockerEnv
}

KafkaDockerEnv represents the docker-compose service defined in docker-compose-canal.yml

func NewKafkaDockerEnv

func NewKafkaDockerEnv(dockerComposeFile string) *KafkaDockerEnv

NewKafkaDockerEnv creates a new KafkaDockerEnv

type SingleTableTask

type SingleTableTask struct {
	TableName           string
	UseJSON             bool
	EnableTiDBExtension bool
}

SingleTableTask provides a basic implementation for an Avro test case

func (*SingleTableTask) GetCDCProfile

func (c *SingleTableTask) GetCDCProfile() *framework.CDCProfile

GetCDCProfile implements Task

func (*SingleTableTask) Name

func (c *SingleTableTask) Name() string

Name implements Task

func (*SingleTableTask) Prepare

func (c *SingleTableTask) Prepare(taskContext *framework.TaskContext) error

Prepare implements Task

func (*SingleTableTask) Run

func (c *SingleTableTask) Run(taskContext *framework.TaskContext) error

Run implements Task

Jump to

Keyboard shortcuts

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