connector |
required |
(none) |
String |
Specify what connector to use, here should be 'sqlserver-cdc' . |
hostname |
required |
(none) |
String |
IP address or hostname of the SQLServer database. |
username |
required |
(none) |
String |
Username to use when connecting to the SQLServer database. |
password |
required |
(none) |
String |
Password to use when connecting to the SQLServer database. |
database-name |
required |
(none) |
String |
Database name of the SQLServer database to monitor. |
table-name |
required |
(none) |
String |
Table name of the SQLServer database to monitor, e.g.: "db1.table1" |
port |
optional |
1433 |
Integer |
Integer port number of the SQLServer database. |
server-time-zone |
optional |
UTC |
String |
The session time zone in database server, e.g. "Asia/Shanghai". |
scan.incremental.snapshot.enabled |
optional |
true |
Boolean |
Whether enable parallelism snapshot. |
chunk-meta.group.size |
optional |
1000 |
Integer |
The group size of chunk meta, if the meta size exceeds the group size, the meta will be divided into multiple groups. |
chunk-key.even-distribution.factor.lower-bound |
optional |
0.05d |
Double |
The lower bound of chunk key distribution factor. The distribution factor is used to determine whether the table is evenly distribution or not.
The table chunks would use evenly calculation optimization when the data distribution is even, and the query for splitting would happen when it is uneven.
The distribution factor could be calculated by (MAX(id) - MIN(id) + 1) / rowCount. |
chunk-key.even-distribution.factor.upper-bound |
optional |
1000.0d |
Double |
The upper bound of chunk key distribution factor. The distribution factor is used to determine whether the table is evenly distribution or not.
The table chunks would use evenly calculation optimization when the data distribution is even, and the query for splitting would happen when it is uneven.
The distribution factor could be calculated by (MAX(id) - MIN(id) + 1) / rowCount. |
debezium.* |
optional |
(none) |
String |
Pass-through Debezium's properties to Debezium Embedded Engine which is used to capture data changes from SQLServer.
For example: 'debezium.snapshot.mode' = 'initial_only' .
See more about the Debezium's SQLServer Connector properties |
scan.incremental.close-idle-reader.enabled |
optional |
false |
Boolean |
Whether to close idle readers at the end of the snapshot phase. The flink version is required to be greater than or equal to 1.14 when 'execution.checkpointing.checkpoints-after-tasks-finish.enabled' is set to true. |