dyrnq / cdc-vagrant

CDC(Change Data Capture) is made up of two components, the CDD and the CDT. CDD is stand for Change Data Detection and CDT is stand for Change Data Transfer.
https://nightlies.apache.org/flink/flink-cdc-docs-stable/
0 stars 0 forks source link

Exception in thread "main" java.lang.RuntimeException: Cannot find factory with identifier "mysql" in the classpath. #37

Open dyrnq opened 1 week ago

dyrnq commented 1 week ago
bash bin/flink-cdc.sh ~/mysql-to-doris.yaml
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:65)
        at org.apache.flink.cdc.composer.flink.translator.DataSourceTranslator.createDataSource(DataSourceTranslator.java:85)
        at org.apache.flink.cdc.composer.flink.translator.DataSourceTranslator.translate(DataSourceTranslator.java:48)
        at org.apache.flink.cdc.composer.flink.FlinkPipelineComposer.compose(FlinkPipelineComposer.java:100)
        at org.apache.flink.cdc.cli.CliExecutor.run(CliExecutor.java:89)
        at org.apache.flink.cdc.cli.CliFrontend.main(CliFrontend.java:69)