FlinkCDC 3.1.0 submitting the job, throws a error :Cannot find factory with identifier "mysql" in the classpath #3390
Replies: 1 comment 3 replies
-
Could you please check if you have placed MySQL pipeline connector with corresponding version (3.1.0) in CDC |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
command : ./bin/flink-cdc.sh mutilpart-mysql-to-doris.yaml --jar lib/mysql-connector-java-8.0.27.jar
Using FlinkCDC version 3.0.1, the command starts the task successfully, but with FlinkCDC 3.1.0, it fails with the following error:
Exception in thread "main" java.lang.RuntimeException: Cannot find factory with identifier "mysql" in the classpath.
Available factory classes are:
at org.apache.flink.cdc.composer.utils.FactoryDiscoveryUtils.getFactoryByIdentifier(FactoryDiscoveryUtils.java:62)
at org.apache.flink.cdc.composer.flink.translator.DataSourceTranslator.translate(DataSourceTranslator.java:47)
at org.apache.flink.cdc.composer.flink.FlinkPipelineComposer.compose(FlinkPipelineComposer.java:101)
at org.apache.flink.cdc.cli.CliExecutor.run(CliExecutor.java:71)
at org.apache.flink.cdc.cli.CliFrontend.main(CliFrontend.java:71)
Beta Was this translation helpful? Give feedback.
All reactions