linjianchang commented on code in PR #3844:
URL: https://github.com/apache/flink-cdc/pull/3844#discussion_r2629729752


##########
docs/content.zh/docs/connectors/pipeline-connectors/mysql.md:
##########
@@ -77,6 +77,44 @@ pipeline:
    parallelism: 4
 ```
 
+## 多数据源示例
+
+多数据源,从多个mysql数据源读取数据同步到 Doris 的 Pipeline 可以定义如下:
+
+```yaml
+sources:
+   - type: mysql
+     name: MySQL multiple Source1
+     hostname: 127.0.0.1
+     port: 3306
+     username: admin
+     password: pass
+     tables: adb.\.*, bdb.user_table_[0-9]+, [app|web].order_\.*
+     server-id: 5400-5404
+     server-time-zone: Asia/Shanghai
+
+   - type: mysql
+       name: MySQL multiple Source2
+     hostname: 127.0.0.2

Review Comment:
   > It is essential to verify state compatibility. Would adding or removing a 
Source from an existing job lead to state compatibility issues, or could 
reordering the Sources result in state inconsistency? Such incompatible 
operations must be exposed as errors to avoid silent handling.
   @lvyanquan Thanks for the review!I have already made the modifications and 
tested them. Please refer to the following document
   https://www.yuque.com/oniucium/lfk1te/yruqcmf9vbz4rxzv?singleDoc# 《multiple 
source从状态恢复验证》



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