Skip to content

Commit

Permalink
cdc: add more detail about the authorization (#19173) (#19293)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Nov 4, 2024
1 parent 7d221df commit fb67dce
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 @@ The following are examples when using Kafka SASL authentication:
The minimum set of permissions required for TiCDC to function properly is as follows.

- The `Create`, `Write`, and `Describe` permissions for the Topic [resource type](https://docs.confluent.io/platform/current/kafka/authorization.html#resources).
- The `DescribeConfigs` permission for the Cluster resource type.
- The `DescribeConfig` permission for the Cluster resource type.

The usage scenarios for each permission are as follows:

| Resource type | Type of operation | Scenario |
| :-------------| :------------- | :--------------------------------|
| Cluster | `DescribeConfig`| Gets the cluster metadata while the changefeed is running |
| Topic | `Describe` | Tries to create a topic when the changefeed starts |
| Topic | `Create` | Tries to create a topic when the changefeed starts |
| Topic | `Write` | Sends data to the topic |

When creating or starting a changefeed, you can disable the `Describe` and `Create` permissions if the specified Kafka topic already exists.

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

Expand Down

0 comments on commit fb67dce

Please sign in to comment.