Skip to content

Commit e59d7fe

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

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

5050
.. include:: /includes/extracts/changestream-rc-majority-4.2.rst
5151

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

5469
Watch a Collection, Database, or Deployment

0 commit comments

Comments
 (0)