public static class MySQLSource.Builder<T> extends Object
MySQLSource.| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.alibaba.ververica.cdc.debezium.DebeziumSourceFunction<T> |
build() |
MySQLSource.Builder<T> |
databaseList(String... databaseList)
An optional list of regular expressions that match database names to be monitored; any
database name not included in the whitelist will be excluded from monitoring.
|
MySQLSource.Builder<T> |
debeziumProperties(Properties properties)
The Debezium MySQL connector properties.
|
MySQLSource.Builder<T> |
deserializer(com.alibaba.ververica.cdc.debezium.DebeziumDeserializationSchema<T> deserializer)
The deserializer used to convert from consumed
SourceRecord. |
MySQLSource.Builder<T> |
hostname(String hostname) |
MySQLSource.Builder<T> |
password(String password)
Password to use when connecting to the MySQL database server.
|
MySQLSource.Builder<T> |
port(int port)
Integer port number of the MySQL database server.
|
MySQLSource.Builder<T> |
serverId(int serverId)
A numeric ID of this database client, which must be unique across all currently-running
database processes in the MySQL cluster.
|
MySQLSource.Builder<T> |
serverTimeZone(String timeZone)
The session time zone in database server, e.g.
|
MySQLSource.Builder<T> |
startupOptions(StartupOptions startupOptions)
Specifies the startup options.
|
MySQLSource.Builder<T> |
tableList(String... tableList)
An optional list of regular expressions that match fully-qualified table identifiers for
tables to be monitored; any table not included in the list will be excluded from
monitoring.
|
MySQLSource.Builder<T> |
username(String username)
Name of the MySQL database to use when connecting to the MySQL database server.
|
public MySQLSource.Builder<T> hostname(String hostname)
public MySQLSource.Builder<T> port(int port)
public MySQLSource.Builder<T> databaseList(String... databaseList)
public MySQLSource.Builder<T> tableList(String... tableList)
public MySQLSource.Builder<T> username(String username)
public MySQLSource.Builder<T> password(String password)
public MySQLSource.Builder<T> serverTimeZone(String timeZone)
public MySQLSource.Builder<T> serverId(int serverId)
public MySQLSource.Builder<T> debeziumProperties(Properties properties)
public MySQLSource.Builder<T> deserializer(com.alibaba.ververica.cdc.debezium.DebeziumDeserializationSchema<T> deserializer)
SourceRecord.public MySQLSource.Builder<T> startupOptions(StartupOptions startupOptions)
public com.alibaba.ververica.cdc.debezium.DebeziumSourceFunction<T> build()
Copyright © 2021 The Apache Software Foundation. All rights reserved.