File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
source-connector/configuration-properties Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ Settings
118118 contains the most current version of the updated document. To
119119 learn more about the ``fullDocument`` field, see the :rapid:`Server
120120 manual page on update events </reference/change-events/update/>`.
121+
121122 | When set to ``true``, the connector overrides the
122123 ``change.stream.full.document`` setting and sets it to
123124 ``updateLookup`` so that the ``fullDocument`` field contains
@@ -126,6 +127,18 @@ Settings
126127 | **Default**: ``false``
127128 | **Accepted Values**: ``true`` or ``false``
128129
130+ * - | **publish.full.document.only.tombstones.on.delete**
131+ - | **Type:** boolean
132+ |
133+ | **Description:**
134+ | Whether to return tombstone events when documents are deleted.
135+ Tombstone events contain the keys of deleted documents with
136+ ``null`` values. This setting applies only when
137+ ``publish.full.document.only`` is ``true``.
138+
139+ | **Default**: ``false``
140+ | **Accepted Values**: ``true`` or ``false``
141+
129142 * - | **collation**
130143 - | **Type:** string
131144 |
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ What's New in 1.9
4242 operation in the change stream event document.
4343- Improved :ref:`schema inference <source-infer-a-schema>` for nested
4444 documents contained in arrays.
45+ - Introduced the ``publish.full.document.only.tombstones.on.delete`` setting
46+ that configures the connector to send tombstone events when documents
47+ are deleted. This setting only applies when ``publish.full.document.only``
48+ is ``true``.
4549- Added MongoDB server exception information to dead letter queue messages.
4650
4751.. _kafka-connector-whats-new-1.8.1:
You can’t perform that action at this time.
0 commit comments