Skip to content

Commit 16700fa

Browse files
authored
DOCSP-37127: serverMonitoringMode option (#535)
* DOCSP-37127: serverMonitoringMode option * what's new * data type * wording
1 parent a1ec3d1 commit 16700fa

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

source/fundamentals/connection/connection-options.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,15 @@ parameters of the connection URI to specify the behavior of the client.
260260

261261
| **Default**: ``true``
262262

263+
* - **serverMonitoringMode**
264+
- string
265+
- Specifies which server monitoring protocol the driver uses. When set to
266+
``auto``, the monitoring mode is determined by the environment in which
267+
the driver is running. The driver uses ``poll`` mode in function-as-a-service
268+
(FaaS) environments and ``stream`` mode in other environments.
269+
270+
| **Default**: ``auto``
271+
263272
* - **uuidRepresentation**
264273
- string
265274
- Specifies the UUID representation to use for read and write

source/whats-new.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ Behavioral Changes in 5.1
6565
the same ``mongos`` server for operation retry attempts if other ``mongos`` servers are
6666
available.
6767

68+
.. _java-new-features-5.1:
69+
70+
New Features in 5.1
71+
~~~~~~~~~~~~~~~~~~~
72+
73+
The 5.1 driver release includes the following new features:
74+
75+
- Introduces the ``serverMonitoringMode`` connection URI option. For more information about
76+
this option, see the :ref:`connection-options` guide.
77+
6878
.. _version-5.0:
6979

7080
What's New in 5.0

0 commit comments

Comments
 (0)