Skip to content

Commit

Permalink
TiCDC: modify Kafka sink uri format (#17675)
Browse files Browse the repository at this point in the history
  • Loading branch information
wk989898 authored Jun 3, 2024
1 parent e8599a7 commit 4c439cf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ticdc/ticdc-sink-to-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,17 @@ Info: {"sink-uri":"kafka://127.0.0.1:9092/topic-name?protocol=canal-json&kafka-v
Sink URI is used to specify the connection information of the TiCDC target system. The format is as follows:

```shell
[scheme]://[userinfo@][host]:[port][/path]?[query_parameters]
[scheme]://[host]:[port][/path]?[query_parameters]
```

> **Tip:**
>
> If there are multiple hosts or ports for the downstream Kafka, you can configure multiple `[host]:[port]` in the sink URI. For example:
>
> ```shell
> [scheme]://[host]:[port],[host]:[port],[host]:[port][/path]?[query_parameters]
> ```
Sample configuration:
```shell
Expand Down

0 comments on commit 4c439cf

Please sign in to comment.