houbb commented on issue #6302:
URL: https://github.com/apache/seatunnel/issues/6302#issuecomment-1915983657

   The right config should be:
   
   ```conf
   # Defining the runtime environment
   env {
     # You can set flink configuration here
     parallelism = 1
     job.mode = "STREAMING"
     job.name = "merge_cdc.user_info-STREAMING"
     checkpoint.interval = 10000
   }
   source{
       MySQL-CDC {
           catalog = {
               factory = MySQL
           }
           base-url = 
"jdbc:mysql://127.0.0.1:3306/cdc?useSSL=false&serverTimezone=Asia/Shanghai"
           driver = "com.mysql.jdbc.Driver"
           username = "admin"
           password = "123456"
           table-names = ["cdc.user_info", "cdc.role_info"]
   
           startup.mode = "initial"
       }
   }
   
   transform {
       # If you would like to get more information about how to configure 
seatunnel and see full list of transform plugins,
       # please go to https://seatunnel.apache.org/docs/transform-v2/sql
   }
   
   sink {
       jdbc {
           database = "cdc_target"
           url = 
"jdbc:mysql://localhost:3306/cdc_target?useSSL=false&serverTimezone=Asia/Shanghai"
           driver = "com.mysql.cj.jdbc.Driver"
           user = "admin"
           password = "123456"
           generate_sink_sql = true
       }
   }
   ```
   
   
   the info follow is import,but can't find in v2.3.3 doc.
   
   ```conf
   catalog = {
               factory = MySQL
   }
   ```


-- 
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