| 程序包 | 说明 |
|---|---|
| com.alibaba.ververica.cdc.connectors.mysql |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> MySQLSource.Builder<T> |
MySQLSource.builder() |
MySQLSource.Builder<T> |
MySQLSource.Builder.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> |
MySQLSource.Builder.debeziumProperties(Properties properties)
The Debezium MySQL connector properties.
|
MySQLSource.Builder<T> |
MySQLSource.Builder.deserializer(com.alibaba.ververica.cdc.debezium.DebeziumDeserializationSchema<T> deserializer)
The deserializer used to convert from consumed
SourceRecord. |
MySQLSource.Builder<T> |
MySQLSource.Builder.hostname(String hostname) |
MySQLSource.Builder<T> |
MySQLSource.Builder.password(String password)
Password to use when connecting to the MySQL database server.
|
MySQLSource.Builder<T> |
MySQLSource.Builder.port(int port)
Integer port number of the MySQL database server.
|
MySQLSource.Builder<T> |
MySQLSource.Builder.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> |
MySQLSource.Builder.serverTimeZone(String timeZone)
The session time zone in database server, e.g.
|
MySQLSource.Builder<T> |
MySQLSource.Builder.startupOptions(StartupOptions startupOptions)
Specifies the startup options.
|
MySQLSource.Builder<T> |
MySQLSource.Builder.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> |
MySQLSource.Builder.username(String username)
Name of the MySQL database to use when connecting to the MySQL database server.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.