Skip to content

Commit

Permalink
reference: add an example for S3 URI in sink-uri (#16514) (#16516)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Feb 19, 2024
1 parent 9b43c4a commit 9887673
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions external-storage-uri.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ The following is an example of an Amazon S3 URI for TiDB Lightning and BR. In th
s3://external/testfolder?access-key=${access-key}&secret-access-key=${secret-access-key}
```

The following is an example of an Amazon S3 URI for TiCDC `sink-uri`.

```shell
tiup cdc:v7.5.0 cli changefeed create \
--server=http://172.16.201.18:8300 \
--sink-uri="s3://cdc?endpoint=http://10.240.0.38:9000&access-key=${access-key}&secret-access-key=${secret-access-key}" \
--changefeed-id="cdcTest" \
--config=cdc_csv.toml
```

The following is an example of an Amazon S3 URI for [`IMPORT INTO`](/sql-statements/sql-statement-import-into.md). In this example, you need to specify a specific filename `test.csv`.

```shell
Expand Down

0 comments on commit 9887673

Please sign in to comment.