File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
source/fundamentals/crud/read-operations Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,11 @@ Split Large Change Stream Events
142
142
143
143
Starting in MongoDB 7.0, you can use the ``$changeStreamSplitLargeEvent``
144
144
aggregation stage to split events that exceed 16 MB into smaller fragments.
145
+
146
+ Use ``$changeStreamSplitLargeEvent`` only when strictly necessary. For
147
+ example, use ``$changeStreamSplitLargeEvent`` if your application requires full
148
+ document pre- or post-images, and generates events that exceed 16 MB.
149
+
145
150
The $changeStreamSplitLargeEvent stage returns the fragments sequentially. You can
146
151
access the fragments by using a change stream cursor. Each fragment
147
152
includes a ``SplitEvent`` object containing the following fields:
You can’t perform that action at this time.
0 commit comments