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

   > 再问一个问题:
   > 
   > 官网看到 表名支持正则以读取多个表 table-pattern 和 table-names 只能选择一个
   > 
   > env { 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中呢?mongdb的连接串是 uri = 
"mongodb://system:[email protected]:27017/test_db?replicaSet=uat&authSource=admin"
 反过来,如果想将mongodb cdc中的多个表写到mysql中,又该怎么写?
   
   The mongocdc source side does not support table regular matching, and each 
table needs to specify a field separately. You can take a good look at the 
official website parameters and try it yourself.


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