[mysql][minor] Use 'table.include.list' key instead of legacy key 'table.whitelist' in SnapshotSplitReader

pull/569/head
Leonard Xu 3 years ago committed by Leonard Xu
parent aa3e282cfd
commit e0095458a1

@ -179,7 +179,7 @@ public class SnapshotSplitReader implements DebeziumReader<SourceRecord, MySqlSp
.getSourceConfig() .getSourceConfig()
.getDbzConfiguration() .getDbzConfiguration()
.edit() .edit()
.with("table.whitelist", currentSnapshotSplit.getTableId()) .with("table.include.list", currentSnapshotSplit.getTableId().toString())
.build(); .build();
// task to read binlog and backfill for current split // task to read binlog and backfill for current split
return new MySqlBinlogSplitReadTask( return new MySqlBinlogSplitReadTask(

Loading…
Cancel
Save