hope1234567hope commented on issue #10199:
URL: https://github.com/apache/seatunnel/issues/10199#issuecomment-3673400794

   再问一个问题:
   
   官网看到
   表名支持正则以读取多个表
   table-pattern 和 table-names 只能选择一个
   
   env {
     # You can set engine configuration here
     parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 5000
     read_limit.bytes_per_second=7000000
     read_limit.rows_per_second=400
   }
   
   source {
     MySQL-CDC {
       server-id = 5652
       username = "st_user_source"
       password = "mysqlpw"
       database-pattern = "source.*"
       table-pattern = "source.*\\..*"
       url = "jdbc:mysql://mysql_cdc_e2e:3306"
     }
   }
   
   sink {
     Console {
     }
   }
   
   如果我想将sink中写为mongodb呢?怎么写mongodb的    uri = 
"mongodb://system:[email protected]:27017/test_db?replicaSet=uat&authSource=admin"
   反过来,将mongodb cdc中的多个表写到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