Skip to content

Commit

Permalink
cdc: add more detail about the authorization (#18294) (#18979)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Nov 4, 2024
1 parent 0f065ff commit 08c5b8c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion ticdc/ticdc-sink-to-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,18 @@ URI 中可配置的的参数如下:
TiCDC 能够正常工作所需的最小权限集合如下:

- 对 Topic [资源类型](https://docs.confluent.io/platform/current/kafka/authorization.html#resources)的 `Create``Write``Describe` 权限。
- 对 Cluster 资源类型的 `DescribeConfigs` 权限。
- 对 Cluster 资源类型的 `DescribeConfig` 权限。

各权限的使用场景如下:

| 资源类型 | 操作类型 | 使用场景 |
| :-------------| :------------- | :--------------------------------|
| Cluster | `DescribeConfig` | Changefeed 运行过程中,获取集群元数据 |
| Topic | `Describe` | Changefeed 启动时,尝试创建 Topic |
| Topic | `Create` | Changefeed 启动时,尝试创建 Topic |
| Topic | `Write` | 发送数据到 Topic |

创建或启动 Changefeed 时,如果指定的 Kafka Topic 已存在,可以不用开启 `Describe``Create` 权限。

### TiCDC 集成 Kafka Connect (Confluent Platform)

Expand Down

0 comments on commit 08c5b8c

Please sign in to comment.