File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,15 @@ parameters of the connection URI to specify the behavior of the client.
260
260
261
261
| **Default**: ``true``
262
262
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
+
263
272
* - **uuidRepresentation**
264
273
- string
265
274
- Specifies the UUID representation to use for read and write
Original file line number Diff line number Diff line change @@ -65,6 +65,16 @@ Behavioral Changes in 5.1
65
65
the same ``mongos`` server for operation retry attempts if other ``mongos`` servers are
66
66
available.
67
67
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
+
68
78
.. _version-5.0:
69
79
70
80
What's New in 5.0
You can’t perform that action at this time.
0 commit comments