Skip to content

Commit 67482d9

Browse files
authored
DOCSP-19595 Change Stream Improvement (#799) (#815)
* DOCSP-19595 Connection content on change streams * DOCSP-19595 Updates text for change stream connections * DOCSP-19595 Fixes, per Joe
1 parent d1656a0 commit 67482d9

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
@@ -51,6 +51,21 @@ Change streams are available for :doc:`replica sets <replication>` and
5151

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

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

5671
Watch a Collection, Database, or Deployment

0 commit comments

Comments
 (0)