Skip to content

Commit ac619e3

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

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
@@ -46,6 +46,21 @@ Change stream is available for :doc:`replica sets <replication>` and
4646
deployments which employ MongoDB's
4747
:ref:`encryption-at-rest<encrypted-storage-engine>` feature.
4848

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

5166
Watch a Collection, Database, or Deployment

0 commit comments

Comments
 (0)