| Package | Description |
|---|---|
| com.alibaba.ververica.cdc.connectors.mysql | |
| com.alibaba.ververica.cdc.connectors.mysql.table |
| Modifier and Type | Method and Description |
|---|---|
MySQLSource.Builder<T> |
MySQLSource.Builder.startupOptions(StartupOptions startupOptions)
Specifies the startup options.
|
| Modifier and Type | Method and Description |
|---|---|
static StartupOptions |
StartupOptions.earliest()
Never to perform snapshot on the monitored database tables upon first startup, just read from
the beginning of the binlog.
|
static StartupOptions |
StartupOptions.initial()
Performs an initial snapshot on the monitored database tables upon first startup, and
continue to read the latest binlog.
|
static StartupOptions |
StartupOptions.latest()
Never to perform snapshot on the monitored database tables upon first startup, just read from
the end of the binlog which means only have the changes since the connector was started.
|
static StartupOptions |
StartupOptions.specificOffset(String specificOffsetFile,
int specificOffsetPos)
Never to perform snapshot on the monitored database tables upon first startup, and directly
read binlog from the specified offset.
|
static StartupOptions |
StartupOptions.timestamp(long startupTimestampMillis)
Never to perform snapshot on the monitored database tables upon first startup, and directly
read binlog from the specified timestamp.
|
| Constructor and Description |
|---|
MySQLTableSource(org.apache.flink.table.api.TableSchema physicalSchema,
int port,
String hostname,
String database,
String tableName,
String username,
String password,
java.time.ZoneId serverTimeZone,
Properties dbzProperties,
Integer serverId,
StartupOptions startupOptions) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.