Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetDBConnImpl pmysql.IDBConnectionFactory = &pmysql.DBConnectionFactory{}
GetDBConnImpl is the implementation of pmysql.IDBConnectionFactory. Exported for testing.
Functions ¶
This section is empty.
Types ¶
type DDLSink ¶
type DDLSink struct {
// contains filtered or unexported fields
}
DDLSink is a sink that writes DDL events to MySQL.
func NewDDLSink ¶
func NewDDLSink( ctx context.Context, changefeedID model.ChangeFeedID, sinkURI *url.URL, replicaConfig *config.ReplicaConfig, ) (*DDLSink, error)
NewDDLSink creates a new DDLSink.
func (*DDLSink) WriteCheckpointTs ¶
WriteCheckpointTs does nothing.
Click to show internal directories.
Click to hide internal directories.