Skip to content

Commit ab38ca0

Browse files
authored
cdc: add more detail about the authorization (pingcap#19173)
1 parent 5f8cb87 commit ab38ca0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

ticdc/ticdc-sink-to-kafka.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,18 @@ The following are examples when using Kafka SASL authentication:
157157
The minimum set of permissions required for TiCDC to function properly is as follows.
158158

159159
- The `Create`, `Write`, and `Describe` permissions for the Topic [resource type](https://docs.confluent.io/platform/current/kafka/authorization.html#resources).
160-
- The `DescribeConfigs` permission for the Cluster resource type.
160+
- The `DescribeConfig` permission for the Cluster resource type.
161+
162+
The usage scenarios for each permission are as follows:
163+
164+
| Resource type | Type of operation | Scenario |
165+
| :-------------| :------------- | :--------------------------------|
166+
| Cluster | `DescribeConfig`| Gets the cluster metadata while the changefeed is running |
167+
| Topic | `Describe` | Tries to create a topic when the changefeed starts |
168+
| Topic | `Create` | Tries to create a topic when the changefeed starts |
169+
| Topic | `Write` | Sends data to the topic |
170+
171+
When creating or starting a changefeed, you can disable the `Describe` and `Create` permissions if the specified Kafka topic already exists.
161172

162173
### Integrate TiCDC with Kafka Connect (Confluent Platform)
163174

0 commit comments

Comments
 (0)