File tree Expand file tree Collapse file tree 1 file changed +6
-22
lines changed Expand file tree Collapse file tree 1 file changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -62,28 +62,12 @@ Change Stream Examples
62
62
The Node.js examples below assume that you have `connected to a MongoDB replica set and have accessed a database
63
63
<https://mongodb.github.io/node-mongodb-native/api-generated/mongoclient.html#connect>`_
64
64
that contains an ``inventory`` collection.
65
-
66
-
67
- .. important::
68
- Change streams are available for replica sets or sharded clusters with replica set
69
- shards. You cannot open a change stream against a standalone :program:`mongod`.
70
- For a sharded cluster, you must issue the open change stream operation against
71
- the :program:`mongos`.
72
-
73
- The replica set or the sharded cluster must use:
74
-
75
- - replica set protocol version 1 (:rsconf:`pv1 <protocolVersion>`)
76
-
77
- - :ref:`WiredTiger <storage-wiredtiger>` storage engine (can be :ref:`encrypted <encrypted-storage-engine>`)
78
-
79
-
80
-
81
- - id: ruby
82
- content: |
83
- The examples below assume that you have `connected to a MongoDB replica set and have accessed a database
84
- <https://docs.mongodb.com/ruby-driver/master/tutorials/ruby-driver-create-client/>`_
85
- that contains an ``inventory`` collection.
86
-
65
+
66
+ - id: ruby
67
+ content: |
68
+ The examples below assume that you have `connected to a MongoDB replica set and have accessed a database
69
+ <https://docs.mongodb.com/ruby-driver/master/tutorials/ruby-driver-create-client/>`_
70
+ that contains an ``inventory`` collection.
87
71
88
72
89
73
Open A Change Stream
You can’t perform that action at this time.
0 commit comments