Skip to content

Commit

Permalink
ticdc: add a note about schema (#18545) (#18551)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Sep 6, 2024
1 parent 04fb668 commit 423097d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ticdc/ticdc-sink-to-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ dispatchers = [

Topic 分发器用 topic = "xxx" 来指定,并使用 topic 表达式来实现灵活的 topic 分发策略。topic 的总数建议小于 1000。

Topic 表达式的基本规则为 `[prefix][{schema}][middle][{table}][suffix]`,详细解释如下:
Topic 表达式的基本规则为 `[prefix]{schema}[middle][{table}][suffix]`,详细解释如下:

- `prefix`:可选项,代表 Topic Name 的前缀。
- `{schema}`可选项,用于匹配库名。
- `{schema}`必选项,用于匹配库名。从 v7.1.4 开始,该参数为可选项
- `middle`:可选项,代表库表名之间的分隔符。
- `{table}`:可选项,用于匹配表名。
- `suffix`:可选项,代表 Topic Name 的后缀。
Expand Down

0 comments on commit 423097d

Please sign in to comment.