-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
Labels:None
Documentation Request Summary:
This helper opens a change stream which will watch for all changes on any collection in the replica set or sharded cluster (see SERVER-34086, SERVER-34088). It optionally takes two arguments: a pipeline of transformations to perform on the stream of documents, and an object defining any additional aggregation parameters (see https://docs.mongodb.com/manual/reference/command/aggregate/#dbcmd.aggregate).
Scope of changes:
- new method page
- update /changeStreams.txt page
- reference/change-events
- 4.0
- 4.0-compat (in fcv section).
Impact to other docs outside of this product:
none but will need to see about driver examples
MVP:
Resources:
- documents
-
SERVER-34087 Add db.getMongo().watch() helper to watch all changes for the cluster
- Closed
- is related to
-
DOCS-11595 Docs for SERVER-34181: Expose the "ts" value from oplog entries in the changestream as "clusterTime"
- Closed
-
DOCS-11597 Docs for SERVER-34086: Add ability to watch all changes for an entire replica set
- Closed
- related to
-
DOCS-11525 Docs for SERVER-33918: Support $changeStream against all collections in a database for a replica set only
- Closed
-
DOCS-11617 Docs for SERVER-33999: Implement and test auth checks for a $changeStream against more than a single collection
- Closed