Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ticdc: add a note about schema #18545

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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