Skip to content

Commit 0a5854a

Browse files
authored
DOCSP-19595 Change Stream Improvement (#799) (#820)
* DOCSP-19595 Connection content on change streams * DOCSP-19595 Updates text for change stream connections * DOCSP-19595 Fixes, per Joe
1 parent fd6bf56 commit 0a5854a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/changeStreams.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,21 @@ Change streams are available for :doc:`replica sets <replication>` and
5252

5353
.. include:: /includes/extracts/changestream-rc-majority-4.2.rst
5454

55+
Connect
56+
--------
57+
58+
Connections for a change stream can either use DNS seed lists
59+
with the ``+srv`` connection option or by listing the servers individually
60+
in the connection string.
61+
62+
If the driver loses the connection to a change stream or the connection goes
63+
down, it attempts to reestablish a connection to the change stream through
64+
another node in the cluster that has a matching
65+
:ref:`read preference <connections-read-preference>`. If the driver cannot find
66+
a node with the correct read preference, it throws an exception.
67+
68+
For more information, see :ref:`Connection String URI Format <mongodb-uri>`.
69+
5570
.. _changeStreams-watch-deployment:
5671

5772
Watch a Collection, Database, or Deployment

0 commit comments

Comments
 (0)