@@ -41,12 +41,14 @@ Settings
41
41
|
42
42
| **Description:**
43
43
| An array of aggregation pipelines to run in your change stream.
44
+ You must configure this setting for the change stream
45
+ event document, not the ``fullDocument`` field.
44
46
45
47
.. example::
46
48
47
49
.. code-block:: none
48
50
49
- [{"$match": {" operationType": "insert"}} , {"$addFields ": {"Kafka": "Rules!"} }]
51
+ [{"$match": { "$and": [{" operationType": "insert"}, {"fullDocument.eventId ": 1404 }] } }]
50
52
51
53
.. tip:: Additional Examples
52
54
@@ -82,11 +84,16 @@ Settings
82
84
- | **Type:** boolean
83
85
|
84
86
| **Description:**
85
- | Whether to publish the changed document instead of the full change
86
- stream document. When set to ``true``, the connector
87
- automatically sets the ``change.stream.full.document`` property to
88
- ``updateLookup`` to receive the updated documents.
89
- |
87
+ | Whether to return only the ``fullDocument`` field from the
88
+ change stream event document produced by any update event. The ``fullDocument`` field
89
+ contains the most current version of the updated document. To
90
+ learn more about the ``fullDocument`` field, see the :rapid:`Server
91
+ manual page on update events </reference/change-events/update/>`.
92
+ | When set to ``true``, the connector overrides the
93
+ ``change.stream.full.document`` setting and sets it to
94
+ ``updateLookup`` so that the ``fullDocument`` field contains
95
+ updated documents.
96
+
90
97
| **Default**: ``false``
91
98
| **Accepted Values**: ``true`` or ``false``
92
99
0 commit comments