Closed leeoo closed 2 years ago
Hello, it seems that you are using version 1.1.0 of flink-doris-connector. This version needs to specify label and is required.
Hello, it seems that you are using version 1.1.0 of flink-doris-connector. This version needs to specify label and is required.
Yes, your are right. Many thanks!
Search before asking
Version
Doris 1.1.1
What's Wrong?
Flink 1.14.5 + Doris 1.1.1 + Flink CDC Connector 2.2.1 + Dinky 0.6.6 + MySQL 8.0.29, would get exception "Could not perform checkpoint ..." when runing “MySQL CDC to Doris” FlinkSQL with flink-doris-connector-1.14_2.12-1.1.0.jar (Download it via https://mvnrepository.com/artifact/org.apache.doris/flink-doris-connector-1.14_2.12/1.1.0 ).
But the job can be run correctly with flink-doris-connector-1.14_2.12-1.0.3.jar (Download it via https://mvnrepository.com/artifact/org.apache.doris/flink-doris-connector-1.14_2.12/1.0.3 ).
What You Expected?
Flink 1.14.5 + Doris 1.1.1 + Flink CDC Connector 2.2.1 + Dinky 0.6.6 + MySQL 8.0.29, “MySQL CDC to Doris” FlinkSQL job can be run correctly with flink-doris-connector-1.14_2.12-1.1.0.jar .
How to Reproduce?
Env: Flink 1.14.5 + Doris 1.1.1 + Flink CDC Connector 2.2.1 + Dinky 0.6.6 + MySQL 8.0.29;
1) Refer to the last FlinkSQL job code, create source table on MySQL 8 and insert some rows.
2) Refer to the last FlinkSQL job code, create sink table on Doris 1.1.1.
3) Run below FlinkSQL job on Dinky 0.6.6.
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct