shreelatak commented on issue #2600:
URL: https://github.com/apache/flink-cdc/issues/2600#issuecomment-2122125768

   Hello @yuxiqian , thank you so much for the revert! Do you know which 
supporting mysql-cdc connector I can find for Flink CDC version 3.1 I can find, 
and where?
   
   
   My yaml file has the below contents:
   ```
   source:
      type: mysql
      name: MySQL Source
      hostname: 127.0.0.1
      port: 3306
      username: ****
      password: ****
      tables: patient.\.*
   
   sink:
     type: kafka
     name: Kafka Sink
     properties.bootstrap.servers: PLAINTEXT://localhost:9092
     topic: quickstart_events
     
   
   pipeline:
     name: MySQL to Kafka Pipeline
     parallelism: 2
   ```
   
   With the previous Flink CDC version (3.0.1) and connector 
[flink-cdc-pipeline-connector-mysql-3.0.0.jar], I encountered no issues. Now 
since having upgraded the Flink CDC (to 3.1) I am facing :
   
   > 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)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to