Skip to content

Commit 61a2d12

Browse files
ravindk89kay-kim
authored andcommitted
Release Notes paragraph for Change Streams
1 parent 9b1f13c commit 61a2d12

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

source/release-notes/3.6.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,31 @@ The :update:`$position` modifier for the :update:`push` update operator
213213
can accept a negative array index value to indicate a position starting
214214
from the end of the array.
215215

216+
.. _3.6-change-streams:
217+
218+
Change Streams
219+
--------------
220+
221+
MongoDB 3.6 supports opening change streams against replica sets and
222+
sharded clusters with replica set shards.
223+
224+
Change streams allow applications to access real-time data changes
225+
without the complexity and risk of tailing the :term:`oplog`.
226+
Applications can use change streams to subscribe to all data changes
227+
on a collection and respond to those changes.
228+
229+
You can open a change stream from any 3.6-series driver using the
230+
:method:`db.collection.watch()` method. See the documentation for
231+
your preferred driver for complete instructions on usage.
232+
233+
See :ref:`changeStreams` for more information.
234+
235+
.. important::
236+
237+
To use change streams, ``featureCompatibilityVersion`` must be set to
238+
"3.6". For more information, see :ref:`view-fcv` and
239+
:dbcommand:`setFeatureCompatibilityVersion`.
240+
216241
.. _3.6-sessions:
217242

218243

0 commit comments

Comments
 (0)