Skip to content

请问,我如何将 Kafka 中的 Mysql Binlog 信息同步的写入到另外一个 MySQL? #1694

Answered by fish-gangan
uniorder asked this question in Q&A
Discussion options

You must be logged in to vote

flink cdc 直接对接的是mysql server的binlog, 而不是kafka中你采集过来的binlong。
本质上都一样,你这样的其实是已经采集好了,那就不需要flink-cdc 组件了, 直接用flink-kafka-connect 即可,然后再with中format ='canal-json' ->https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/connectors/table/formats/canal/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uniorder
Comment options

Answer selected by uniorder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants