tableList上表名必须加上 库名.
这个bug很不人性 。。。
SourceFunction<String> mySqlSource = MySQLSource.<String>builder()
.hostname("127.0.0.1")
.port(3306)
.databaseList("shantest") // set captured database
.tableList("shantest.user") // set captured table //!其中表名必须加上库名.
.username("root")
.password("root")
.serverTimeZone("UTC")
// .deserializer(new JsonDeserializationSchema()) // converts SourceRecord to JSON String
.deserializer(new StringDebeziumDeserializationSchema())
.startupOptions(StartupOptions.initial())
.build();