SQL如何实现多表同步 #805
Replies: 8 comments 13 replies
-
Refer to the official documentation to use regular expressions to match multiple libraries and multiple tables, should be able to solve your problem?https://ververica.github.io/flink-cdc-connectors/release-1.4/content/connectors/mysql-cdc.html#connector-options |
Beta Was this translation helpful? Give feedback.
-
有好的解决方案吗? |
Beta Was this translation helpful? Give feedback.
-
SQL用的少,但是可以用java api去实现呀。 |
Beta Was this translation helpful? Give feedback.
-
我们自己实现了一个方案tablesource,基于flink cdc 2.0 api 实现整库同步到kafka,然后下游又实现了一个format,选择固定的表,直接同步 |
Beta Was this translation helpful? Give feedback.
-
2.2版本说mysql已经支持动态添加新表,不用再起新作业了。但是不知道其他数据库支持不支持。 |
Beta Was this translation helpful? Give feedback.
-
flink2.xz怎么获取表结构信息呢,canal 监听的log中有schema但是cdc api中获取不到schema |
Beta Was this translation helpful? Give feedback.
-
我们目前实现了一个方案,做法是 |
Beta Was this translation helpful? Give feedback.
-
API 方式可以分流,多表一个源。 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
假设mysql单库下面有100张不同的业务表(非分表)
@wuchong
Beta Was this translation helpful? Give feedback.
All reactions