From 85e4d55b75dd76c42ccf7f5bd37a67b3579d4e4b Mon Sep 17 00:00:00 2001 From: rustagir <rea.rustagi@mongodb.com> Date: Mon, 13 Nov 2023 16:58:47 -0500 Subject: [PATCH 1/2] DOCSP-34397: improve desc of kafka topic prefix and suffix --- .../configuration-properties/kafka-topic.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/source/source-connector/configuration-properties/kafka-topic.txt b/source/source-connector/configuration-properties/kafka-topic.txt index d1f35942..fb5ee001 100644 --- a/source/source-connector/configuration-properties/kafka-topic.txt +++ b/source/source-connector/configuration-properties/kafka-topic.txt @@ -4,6 +4,13 @@ Kafka Topic Properties ====================== +.. facet:: + :name: genre + :values: reference + +.. meta:: + :keywords: generated topic, customize topic + .. contents:: On this page :local: :backlinks: none @@ -38,8 +45,8 @@ Settings - | **Type:** string | | **Description:** - | The prefix to prepend to database and collection names to - generate the name of the Kafka topic on which to publish the data. + | The string to attach to the beginning of the change event + namespace when generating the destination Kafka topic name. .. seealso:: @@ -54,8 +61,8 @@ Settings - | **Type:** string | | **Description:** - | The suffix to append to database and collection names to - generate the name of the Kafka topic on which to publish the data. + | The string to attach to the end of the change event + namespace when generating the destination Kafka topic name. .. seealso:: From 8b577b91270407a80f4b501417a9d50b91ece5e9 Mon Sep 17 00:00:00 2001 From: rustagir <rea.rustagi@mongodb.com> Date: Tue, 14 Nov 2023 10:28:05 -0500 Subject: [PATCH 2/2] CC suggestion --- .../configuration-properties/kafka-topic.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/source/source-connector/configuration-properties/kafka-topic.txt b/source/source-connector/configuration-properties/kafka-topic.txt index fb5ee001..61b9d38b 100644 --- a/source/source-connector/configuration-properties/kafka-topic.txt +++ b/source/source-connector/configuration-properties/kafka-topic.txt @@ -45,8 +45,11 @@ Settings - | **Type:** string | | **Description:** - | The string to attach to the beginning of the change event - namespace when generating the destination Kafka topic name. + | Specifies the first part of the destination Kafka + topic name to which the connector publishes change stream events. + The destination topic name is composed of the ``topic.prefix`` + value followed by the database and collection names, separated by the value + specified in the ``topic.separator`` property. .. seealso:: @@ -61,8 +64,11 @@ Settings - | **Type:** string | | **Description:** - | The string to attach to the end of the change event - namespace when generating the destination Kafka topic name. + | Specifies the last part of the destination Kafka + topic name to which the connector publishes change stream events. + The destination topic name is composed of the database and + collection names followed by the ``topic.suffix`` value, + separated by the value specified in the ``topic.separator`` property. .. seealso::