Skip to content

Commit 6cf312f

Browse files
DOCSP-31907 - Add paragraph from server docs (#460)
1 parent 1769d63 commit 6cf312f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/fundamentals/crud/read-operations/change-streams.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ Split Large Change Stream Events
142142

143143
Starting in MongoDB 7.0, you can use the ``$changeStreamSplitLargeEvent``
144144
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+
145150
The $changeStreamSplitLargeEvent stage returns the fragments sequentially. You can
146151
access the fragments by using a change stream cursor. Each fragment
147152
includes a ``SplitEvent`` object containing the following fields:

0 commit comments

Comments
 (0)