hi all
??????????flink cdc??????????????????streaming
mode??????????binlog??????????????????????????????????????????????????mysql??RELOAD????????????????sql????????cdc????????????
debezium.snap.shot.locking.mode = none????????
????????streaming
mode??????????????????????????????????????????????????reload??????????????flink
cdc??????????????????????
Properties properties = new Properties();
properties.setProperty("debezium.snapshot.locking.mode", "none");
SourceFunction<String> sourceFunction = MySQLSource.<String>builder()
.hostname("localhost")
.port(port)
.databaseList("database")
.tableList("database.test")
.username(??user)
.password("password")
.debeziumProperties(properties)
.deserializer(new
StringDebeziumDeserializationSchema())
.build();
??.debeziumProperties(properties)????????????sql????????????????????????????????sourceFunction??????Streaming??????????????????????????????????????