Skip to content

Commit

Permalink
(DOCSP-42962) Unnested 1 note, 2 tips, 1 important admonition.
Browse files Browse the repository at this point in the history
  • Loading branch information
your proper name committed Oct 4, 2024
1 parent b44b8f5 commit 8a87fda
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
</changeStreams/#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
</changeStreams/#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
Expand Down
36 changes: 14 additions & 22 deletions source/source-connector/configuration-properties/output-format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
<protobuf-converter-sample-properties>` the `Kafka Connect Protobuf
Converter <https://www.confluent.io/hub/confluentinc/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
<protobuf-converter-sample-properties>` the `Kafka Connect Protobuf
Converter <https://www.confluent.io/hub/confluentinc/kafka-connect-protobuf-converter>`__.

* - | **output.json.formatter**
- | **Type:** string
Expand Down Expand Up @@ -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 <kafka-df-avro-schema>` guide.
To learn more about Avro schema, see :ref:`Avro <data-formats-avro>` in the
:ref:`Data Formats guide <kafka-df-avro-schema>`.

| **Default**:

Expand All @@ -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 <kafka-df-avro-schema>` guide.
| To learn more about Avro schema, see :ref:`Avro <data-formats-avro>` in the
:ref:`Data Formats guide <kafka-df-avro-schema>`.

| **Default**:

Expand Down Expand Up @@ -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``
Expand Down

0 comments on commit 8a87fda

Please sign in to comment.