Skip to content

Commit

Permalink
ticdc: add description for pulsar topic config (#19049) (#19081)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Oct 11, 2024
1 parent a81be89 commit 992381e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ticdc/ticdc-sink-to-pulsar.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@ dispatchers = [

You can use `topic = "xxx"` to specify a topic dispatcher and use topic expressions to implement flexible topic dispatching policies. It is recommended that the total number of topics be less than 1000.

The format of a topic expression is `[prefix]{schema}[middle][{table}][suffix]`. The following are the meanings of each part:
The format of a topic expression is `[tenant_and_namespace][prefix]{schema}[middle][{table}][suffix]`. The following are the meanings of each part:

- `tenant_and_namespace`:Optional. Represents the tenant and namespace of the topic, such as `persistent://abc/def/`. If not configured, it means that the topic is in the default namespace `default` under the default tenant `public` of Pulsar.
- `prefix`: Optional. Represents the prefix of the topic name.
- `{schema}`: Optional. Represents the database name.
- `middle`: Optional. Represents the separator between a database name and a table name.
Expand Down

0 comments on commit 992381e

Please sign in to comment.