[hotfix] update dbz option name 'xx. whitelist' to 'xx.include.list'(xx = database, schema or table) (#2212)

pull/2255/head
BIN 2 years ago committed by GitHub
parent 70250a7187
commit ba5fcbc97b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,7 +63,7 @@ public class Db2Source {
props.setProperty("database.history.skip.unparseable.ddl", String.valueOf(true));
if (tableList != null) {
props.setProperty("table.whitelist", String.join(",", tableList));
props.setProperty("table.include.list", String.join(",", tableList));
}
if (dbzProperties != null) {
props.putAll(dbzProperties);

@ -180,10 +180,10 @@ public class MySqlSource {
props.setProperty("database.server.id", String.valueOf(serverId));
}
if (databaseList != null) {
props.setProperty("database.whitelist", String.join(",", databaseList));
props.setProperty("database.include.list", String.join(",", databaseList));
}
if (tableList != null) {
props.setProperty("table.whitelist", String.join(",", tableList));
props.setProperty("table.include.list", String.join(",", tableList));
}
if (serverTimeZone != null) {
props.setProperty("database.serverTimezone", serverTimeZone);

@ -160,7 +160,7 @@ public class OracleSource {
props.setProperty("database.history.skip.unparseable.ddl", String.valueOf(true));
props.setProperty("database.dbname", checkNotNull(database));
if (schemaList != null) {
props.setProperty("schema.whitelist", String.join(",", schemaList));
props.setProperty("schema.include.list", String.join(",", schemaList));
}
if (tableList != null) {
props.setProperty("table.include.list", String.join(",", tableList));

@ -94,7 +94,7 @@ public class OracleSourceConfigFactory extends JdbcSourceConfigFactory {
}
if (schemaList != null) {
props.setProperty("schema.whitelist", String.join(",", schemaList));
props.setProperty("schema.include.list", String.join(",", schemaList));
}
if (tableList != null) {

@ -166,10 +166,10 @@ public class PostgreSQLSource {
props.setProperty("heartbeat.interval.ms", String.valueOf(DEFAULT_HEARTBEAT_MS));
if (schemaList != null) {
props.setProperty("schema.whitelist", String.join(",", schemaList));
props.setProperty("schema.include.list", String.join(",", schemaList));
}
if (tableList != null) {
props.setProperty("table.whitelist", String.join(",", tableList));
props.setProperty("table.include.list", String.join(",", tableList));
}
if (dbzProperties != null) {

Loading…
Cancel
Save