From 8a87fdabbe01593d0665a9690d75baccf2492288 Mon Sep 17 00:00:00 2001 From: your proper name Date: Fri, 4 Oct 2024 10:46:17 -0400 Subject: [PATCH] (DOCSP-42962) Unnested 1 note, 2 tips, 1 important admonition. --- .../change-stream.txt | 8 ++--- .../output-format.txt | 36 ++++++++----------- 2 files changed, 17 insertions(+), 27 deletions(-) diff --git a/source/source-connector/configuration-properties/change-stream.txt b/source/source-connector/configuration-properties/change-stream.txt index f6aade60..99fcad76 100644 --- a/source/source-connector/configuration-properties/change-stream.txt +++ b/source/source-connector/configuration-properties/change-stream.txt @@ -92,11 +92,9 @@ Settings operations. The pre-image is not available for source records published while copying existing data, and the pre-image configuration has no effect on copying. - - To learn how to configure a collection to enable - pre-images, see the :manual:`Change Streams with Document Pre- and Post-Images - ` in the MongoDB manual. - + | To learn how to configure a collection to enable + pre-images, see the :manual:`Change Streams with Document Pre- and Post-Images + ` in the MongoDB manual. | The default setting suppresses the document pre-image. | The ``whenAvailable`` setting returns the document pre-image if it's available, before it was replaced, updated, or diff --git a/source/source-connector/configuration-properties/output-format.txt b/source/source-connector/configuration-properties/output-format.txt index a2a6361d..e50feaed 100644 --- a/source/source-connector/configuration-properties/output-format.txt +++ b/source/source-connector/configuration-properties/output-format.txt @@ -54,13 +54,11 @@ Settings | **Default**: ``json`` | **Accepted Values**: ``bson``, ``json``, ``schema`` - .. note:: Protobuf Output Format Support - - The connector supports Protobuf as an - output data format. You can enable this format by specifying the - ``schema`` value and installing and :ref:`configuring - ` the `Kafka Connect Protobuf - Converter `__. + | The connector supports Protobuf as an + output data format. You can enable this format by specifying the + ``schema`` value and installing and :ref:`configuring + ` the `Kafka Connect Protobuf + Converter `__. * - | **output.json.formatter** - | **Type:** string @@ -91,13 +89,11 @@ Settings - | **Type:** string | | **Description:** - | Specifies an AVRO schema definition for the key document of the + | Specifies an Avro schema definition for the key document of the `SourceRecord <{+kafka_api_docs_base+}javadoc/org/apache/kafka/connect/source/SourceRecord.html>`__. - .. seealso:: - - For more information on AVRO schema, see the - :ref:`Data Formats ` guide. + To learn more about Avro schema, see :ref:`Avro ` in the + :ref:`Data Formats guide `. | **Default**: @@ -109,19 +105,17 @@ Settings "fields" : [ { "name": "_id", "type": "string" } ]" } - | **Accepted Values**: A valid AVRO schema + | **Accepted Values**: A valid Avro schema * - | **output.schema.value** - | **Type:** string | | **Description:** - | Specifies an AVRO schema definition for the value document of the + | Specifies an Avro schema definition for the value document of the `SourceRecord <{+kafka_api_docs_base+}javadoc/org/apache/kafka/connect/source/SourceRecord.html>`__. - .. seealso:: - - For more information on AVRO schema, see the - :ref:`Data Formats ` guide. + | To learn more about Avro schema, see :ref:`Avro ` in the + :ref:`Data Formats guide `. | **Default**: @@ -170,10 +164,8 @@ Settings Since the connector processes each document in isolation, the connector may generate many schemas. - .. important:: - - The connector only reads this setting when you set your - ``output.format.value`` setting to ``schema``. + | :gold:`IMPORTANT:` The connector only reads this setting when you set your + ``output.format.value`` setting to ``schema``. | **Default**: ``false`` | **Accepted Values**: ``true`` or ``false``