From 14715dc4a858d36b00bb79e32ac924cb7f2442d6 Mon Sep 17 00:00:00 2001 From: houfaxin Date: Tue, 22 Oct 2024 11:02:04 +0800 Subject: [PATCH 1/3] Update ticdc-sink-to-kafka.md --- ticdc/ticdc-sink-to-kafka.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ticdc/ticdc-sink-to-kafka.md b/ticdc/ticdc-sink-to-kafka.md index 6f1890b55898e..7fcc697c1c1af 100644 --- a/ticdc/ticdc-sink-to-kafka.md +++ b/ticdc/ticdc-sink-to-kafka.md @@ -151,6 +151,17 @@ The following are examples when using Kafka SASL authentication: - 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 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` | Topic When the changefeed starts, it tries to create a topic | + | Topic | `Create` | Topic When the changefeed starts, it tries to create a topic | + | 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) To use the [data connectors](https://docs.confluent.io/current/connect/managing/connectors.html) provided by Confluent to stream data to relational or non-relational databases, you need to use the `avro` protocol and provide a URL for [Confluent Schema Registry](https://www.confluent.io/product/confluent-platform/data-compatibility/) in `schema-registry`. From 63321f466e3852b4d0e105939de308cbccadb1f5 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Fri, 1 Nov 2024 20:27:23 +0800 Subject: [PATCH 2/3] Update ticdc/ticdc-sink-to-kafka.md Co-authored-by: Grace Cai --- ticdc/ticdc-sink-to-kafka.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ticdc/ticdc-sink-to-kafka.md b/ticdc/ticdc-sink-to-kafka.md index 7fcc697c1c1af..fe2174b4a95cb 100644 --- a/ticdc/ticdc-sink-to-kafka.md +++ b/ticdc/ticdc-sink-to-kafka.md @@ -156,8 +156,8 @@ The following are examples when using Kafka SASL authentication: | Resource type | Type of operation | Scenario | | :-------------| :------------- | :--------------------------------| | Cluster | `DescribeConfig`| Gets the cluster metadata while the changefeed is running | - | Topic | `Describe` | Topic When the changefeed starts, it tries to create a topic | - | Topic | `Create` | Topic When the changefeed starts, it tries to create a topic | + | 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. From c886f71912320a77e64e11e7275eb6565fc9d616 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Mon, 4 Nov 2024 08:59:06 +0800 Subject: [PATCH 3/3] Update ticdc/ticdc-sink-to-kafka.md --- ticdc/ticdc-sink-to-kafka.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ticdc/ticdc-sink-to-kafka.md b/ticdc/ticdc-sink-to-kafka.md index fe2174b4a95cb..03ad1b77bea21 100644 --- a/ticdc/ticdc-sink-to-kafka.md +++ b/ticdc/ticdc-sink-to-kafka.md @@ -149,7 +149,7 @@ 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: