SEPURI-SAI-KRISHNA commented on code in PR #13243:
URL: https://github.com/apache/seatunnel/pull/13243#discussion_r4553670486


##########
docs/zh/introduction/concepts/incompatible-changes.md:
##########
@@ -4,6 +4,13 @@
 
 ## dev
 
+### 多表 Sink:`multi_table_sink_replica` 大于 1 时需要声明副本模式
+
+- **行为变更:`multi_table_sink_replica` 大于 1 时,writer 未声明副本模式的 Sink 会被拒绝**
+  - **描述**:`multi_table_sink_replica` 大于 1 时,多表 Sink 会在一个子任务中为每张表运行多个 writer。除 
Jdbc 外,所有连接器的 writer 都没有键,因此记录会被随机分配到这些 writer 
上,同一条记录的两次变更可能乱序生效:旧值可能覆盖新值,已删除的行也可能重新出现。单表作业中没有 tableId 的记录,即使表有键,也会被随机分配。现在 
writer 通过 `SupportMultiTableSinkWriter.replicaMode()` 声明副本模式:`KEYED` 按 
`primaryKey()` 给出的键路由,`RANDOM` 允许随机路由,默认的 `UNSUPPORTED` 拒绝多个副本。Jdbc 声明 
`KEYED`,而 `KEYED` 需要键,因此没有主键的 Jdbc 表不能使用多个副本。详见 
[#13223](https://github.com/apache/seatunnel/issues/13223)。

Review Comment:
   Agreed, I removed it from both the EN and ZH entries.
   



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