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

use gcs:// instead of s3:// when the external storage is Google Cloud Storage #16937

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
4 changes: 4 additions & 0 deletions external-storage-uri.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ tiup cdc:v7.5.0 cli changefeed create \
```shell
s3://external/test.csv?access-key=${access-key}&secret-access-key=${secret-access-key}
```
> **注意:**
>
> 请注意,GCS 的 XML API 没有完全兼容 `s3://` 协议, 如果你使用的是 GCS,请使用 `gcs://` 协议。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还是推荐 PM 检查 gcs:// 是否能完全覆盖 s3:// 的场景,用户当初想使用 s3://,现在我们想让他改成 gcs:// 会不会遇到什么困难



## GCS URI 格式

Expand Down
5 changes: 5 additions & 0 deletions ticdc/troubleshoot-ticdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,8 @@ cdc cli changefeed create --server=http://127.0.0.1:8300 --sink-uri="mysql://roo
```shell
cdc cli changefeed create --server=http://127.0.0.1:8300 --sink-uri "kafka://127.0.0.1:9092/test?topic=test&protocol=open-protocol&kafka-version=2.4.0"
```

## 使用 TiCDC 开启 Redo 时报错 `[CDC:ErrS3StorageAPI]external storage api: NotImplemented`,该如何处理?

该问题可能是由于外部存储没有完全兼容 `s3://` 协议导致。你可以替换成其他协议,比如,如果你使用的是 GCS, 可以使用 `gs://` 协议。

Loading