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
118
118
contains the most current version of the updated document. To
119
119
learn more about the ``fullDocument`` field, see the :rapid:`Server
120
120
manual page on update events </reference/change-events/update/>`.
121
+
121
122
| When set to ``true``, the connector overrides the
122
123
``change.stream.full.document`` setting and sets it to
123
124
``updateLookup`` so that the ``fullDocument`` field contains
@@ -126,6 +127,18 @@ Settings
126
127
| **Default**: ``false``
127
128
| **Accepted Values**: ``true`` or ``false``
128
129
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
+
129
142
* - | **collation**
130
143
- | **Type:** string
131
144
|
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ What's New in 1.9
42
42
operation in the change stream event document.
43
43
- Improved :ref:`schema inference <source-infer-a-schema>` for nested
44
44
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``.
45
49
- Added MongoDB server exception information to dead letter queue messages.
46
50
47
51
.. _kafka-connector-whats-new-1.8.1:
You can’t perform that action at this time.
0 commit comments