@@ -279,18 +279,28 @@ using a method in the ``MongoClientSettings.Builder`` class.
279
279
Compression Algorithm Dependencies
280
280
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281
281
282
+ .. note::
283
+
284
+ Applications that require Snappy or Zstandard compression must
285
+ add explicit dependencies for those algorithms.
286
+
282
287
The JDK supports `Zlib <https://zlib.net/>`__ compression natively, but
283
288
`Snappy <https://google.github.io/snappy/>`__ and
284
289
`Zstandard <https://github.com/facebook/zstd/>`__ depend upon open source
285
290
implementations. See
286
291
`snappy-java <https://github.com/xerial/snappy-java>`__ and
287
292
`zstd-java <https://github.com/luben/zstd-jni>`__ for details.
288
293
294
+ The driver tests against the following versions of these libraries:
295
+
296
+ - ``org.xerial.snappy:snappy-java:1.1.8.4``
297
+ - ``com.github.luben:zstd-jni:1.5.0-4``
298
+
289
299
.. _connection-options:
290
300
291
301
Connection Options
292
302
------------------
293
-
303
+
294
304
.. _direct-connection-option:
295
305
296
306
This section explains MongoDB connection and authentication options
@@ -390,7 +400,7 @@ parameters of the connection URI to specify the behavior of the client.
390
400
- Specifies the maximum amount of time, in milliseconds, the Java
391
401
driver will continue to use a pooled connection before closing the
392
402
connection.
393
-
403
+
394
404
* - **journal**
395
405
- boolean
396
406
- Specifies that the driver must wait for the connected MongoDB
@@ -484,7 +494,7 @@ parameters of the connection URI to specify the behavior of the client.
484
494
- boolean
485
495
- Specifies that the driver must retry supported read operations
486
496
if they fail due to a network error. Defaults to ``true``.
487
-
497
+
488
498
* - **uuidRepresentation**
489
499
- string
490
500
- Specifies the UUID representation to use for read and write
0 commit comments