@@ -117,12 +117,13 @@ public void start(Offset offset) {
117117 .with ("database.user" , config .getUser ())
118118 .with ("database.password" , config .getPassword ())
119119 .with ("database.history" , DBSchemaHistory .class .getName ())
120- .with ("database.whitelist " , config .getDatabase ())
120+ .with ("database.include.list " , config .getDatabase ())
121121 .with ("database.server.name" , "dummy" ) // this is the kafka topic for hosted debezium - it doesn't matter
122122 .with ("database.serverTimezone" , config .getServerTimezone ())
123- .with ("table.whitelist" , String .join ("," , sourceTableMap .keySet ()))
123+ .with ("database.history.store.only.monitored.tables.ddl" , true )
124+ .with ("table.include.list" , String .join ("," , sourceTableMap .keySet ()))
124125 .with ("snapshot.mode" , config .getReplicateExistingData () ? "initial" : "schema_only" )
125- .with (MySqlConstantOffsetBackingStore .REPLICATION_CONNECTOR_NAME , replicationConnectorName );;
126+ .with (MySqlConstantOffsetBackingStore .REPLICATION_CONNECTOR_NAME , replicationConnectorName );
126127
127128 if (config .getConsumerID () != null ) {
128129 // If not provided debezium will randomly pick integer between 5400 and 6400.
@@ -135,6 +136,7 @@ public void start(Offset offset) {
135136 }
136137
137138 Configuration debeziumConf = configBuilder .build ();
139+ LOG .info ("Debezium configuration : {}" , debeziumConf );
138140 MySqlConnectorConfig mysqlConf = new MySqlConnectorConfig (debeziumConf );
139141 DBSchemaHistory .deltaRuntimeContext = context ;
140142 /*
0 commit comments