ddlsink

package
v0.0.0-...-592a62f Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink interface {
	// WriteDDLEvent writes a DDL event to the sink.
	// Note: This is a synchronous and thread-safe method.
	WriteDDLEvent(ctx context.Context, ddl *model.DDLEvent) error
	// WriteCheckpointTs writes a checkpoint timestamp to the sink.
	// Note: This is a synchronous and thread-safe method.
	// This only for MQSink for now.
	WriteCheckpointTs(ctx context.Context, ts uint64, tables []*model.TableInfo) error
	// Close closes the sink.
	Close()
}

Sink is the interface for sink of DDL events.

Directories

Path Synopsis
mq

Jump to

Keyboard shortcuts

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