Skip to content

Commit 6bf42d3

Browse files
committed
merge fix #2
1 parent 6845058 commit 6bf42d3

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

source/tutorial/change-streams-example.txt

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,12 @@ Change Stream Examples
6262
The Node.js examples below assume that you have `connected to a MongoDB replica set and have accessed a database
6363
<https://mongodb.github.io/node-mongodb-native/api-generated/mongoclient.html#connect>`_
6464
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.
8771

8872

8973
Open A Change Stream

0 commit comments

Comments
 (0)