Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-31907 - Add paragraph from server docs #460

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/fundamentals/crud/read-operations/change-streams.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ Split Large Change Stream Events

Starting in MongoDB 7.0, you can use the ``$changeStreamSplitLargeEvent``
aggregation stage to split events that exceed 16 MB into smaller fragments.

Use ``$changeStreamSplitLargeEvent`` only when strictly necessary. For
example, use ``$changeStreamSplitLargeEvent`` if your application requires full
document pre- or post-images, and generates events that exceed 16 MB.

The $changeStreamSplitLargeEvent stage returns the fragments sequentially. You can
access the fragments by using a change stream cursor. Each fragment
includes a ``SplitEvent`` object containing the following fields:
Expand Down