问题一:请问大家,flink CDC说是支持clickhouse,但是我使用jdbc connector报错
请问大家,flink CDC说是支持clickhouse,但是我使用jdbc connector报错,在flink官网也没找到clickhouse connector。 这是需要自己开发么?
参考答案:
从Flink导入数据至ClickHouse https://help.aliyun.com/document_detail/212262.html
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/468603?spm=a2c6h.13066369.question.46.4d426d0c1FNTP6
问题二:在用FlinkCDC的时候有遇到过这个报错吗?
在用FlinkCDC的时候有遇到过这个报错吗? ERROR io.debezium.connector.mysql.MySqlStreamingChangeEventSource [1268 ] Error during binlog processing. Last offset stored = null, binlog reader near position = mysql-bin.000351/194 FLink> 2023-03-10/18:45:33:589 [blc-rm-2zeh0xq0m99rg0zw0.mysql.rds.aliyuncs.com:3306] ERROR io.debezium.pipeline.ErrorHandler [31 ] Producer failure io.debezium.DebeziumException: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event '' at 4, the last event read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674, the last byte read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674. Error code: 1236; SQLSTATE: HY000. at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.wrap(MySqlStreamingChangeEventSource.java:1383) ~[flink-connector-mysql-cdc-2.3.0.jar:1.6.4.Final] at io.debezium.connector.mysql.MySqlStreamingChangeEventSourceReaderThreadLifecycleListener.onCommunicationFailure(MySqlStreamingChangeEventSource.java:1439)[flink−connector−mysql−cdc−2.3.0.jar:1.6.4.Final]atcom.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:980)[mysql−binlog−connector−java−0.25.3.jar:0.25.3]atcom.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:599)[mysql−binlog−connector−java−0.25.3.jar:0.25.3]atcom.github.shyiko.mysql.binlog.BinaryLogClientReaderThreadLifecycleListener.onCommunicationFailure(MySqlStreamingChangeEventSource.java:1439) [flink-connector-mysql-cdc-2.3.0.jar:1.6.4.Final] at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:980) [mysql-binlog-connector-java-0.25.3.jar:0.25.3] at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:599) [mysql-binlog-connector-java-0.25.3.jar:0.25.3] at com.github.shyiko.mysql.binlog.BinaryLogClient7.run(BinaryLogClient.java:857) [mysql-binlog-connector-java-0.25.3.jar:0.25.3] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: com.github.shyiko.mysql.binlog.network.ServerException: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event '' at 4, the last event read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674, the last byte read from '/home/mysql/log/mysql/mysql-bin.000351' at 1341674. at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:944) ~[mysql-binlog-connector-java-0.25.3.jar:0.25.3] ... 3 more
参考答案:
server-id被别的用了
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/490628?spm=a2c6h.13066369.question.48.4d426d0croKocw
问题三:有老哥遇到过这情况嘛 已经给oracle表补充日志记录了 但是用flink cdc读还是报错让我去补充,怎么办?
有老哥遇到过这情况嘛 已经给oracle表补充日志记录了 但是用flink cdc读还是报错让我去补充,怎么办?
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/453802?spm=a2c6h.13066369.question.49.4d426d0cit85MK
问题四:大佬们,请问下flink cdc采集mysql,碰到没有主键的表是不是就报错啊
大佬们,请问下flink cdc采集mysql,碰到没有主键的表是不是就报错啊
参考答案:
2.0版本以上的,lastest模式不会,initnal就会
关于本问题的更多回答可点击进行查看:
https://developer.aliyun.com/ask/452863?spm=a2c6h.13066369.question.50.4d426d0cX8cIW5
问题五:Flink CDC报错,这个是不能自己创建doris的库和表吗?
Flink CDC报错,这个是不能自己创建doris的库和表吗? 我看官方例子里面好像自动能创建
参考答案:
要提前创建库
关于本问题的更多回答可点击进行查看: