dakai6677 opened a new issue, #5596:
URL: https://github.com/apache/seatunnel/issues/5596

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   Our system is deployed in various countries with independent data. Now we 
need to synchronize all the data in real-time. I would like to use Seatunnel to 
achieve this, but I don't know how to configure it. I have already tried 
single-database synchronization
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 10
     job.mode = "STREAMING"
     checkpoint.interval = 2000
   }
   
   
   source {
        
        MySQL-CDC {
            catalog = {
              factory = MySQL
            }
            base-url = "jdbc:mysql://xxx:13306/base_market"
            username = "root"
            password = "xxx"
            table-names = ["base_market.table1"]
            startup.mode = "latest"
     }
   
     MySQL-CDC {
            catalog = {
              factory = MySQL
            }
            base-url = "jdbc:mysql://xxx:13306/base_market"
            username = "root"
            password = "xxx"
            table-names = ["base_market.table1"]
            startup.mode = "latest"
     }
   
   }
   
   
   
   sink {
        jdbc {
                                url = 
"jdbc:mysql://xxx:13306/seatunnel_test?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true"
           driver = "com.mysql.cj.jdbc.Driver"
           user = "root"
           password = "xxx"
           generate_sink_sql = true
           database = seatunnel_test
           primary_keys = ["id"]
        }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/data_sync.config  -e local
   ```
   
   
   ### Error Exception
   
   ```log
   none
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   zeta
   
   ### Java or Scala Version
   
   java8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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