Skip to content

Commit 3aef823

Browse files
authored
Docsp 19854 (#187)
* make optional dependencies clear * autobuilder * autobuilder * nits
1 parent 0412d82 commit 3aef823

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

source/fundamentals/connection.txt

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,18 +279,28 @@ using a method in the ``MongoClientSettings.Builder`` class.
279279
Compression Algorithm Dependencies
280280
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281281

282+
.. note::
283+
284+
Applications that require Snappy or Zstandard compression must
285+
add explicit dependencies for those algorithms.
286+
282287
The JDK supports `Zlib <https://zlib.net/>`__ compression natively, but
283288
`Snappy <https://google.github.io/snappy/>`__ and
284289
`Zstandard <https://github.com/facebook/zstd/>`__ depend upon open source
285290
implementations. See
286291
`snappy-java <https://github.com/xerial/snappy-java>`__ and
287292
`zstd-java <https://github.com/luben/zstd-jni>`__ for details.
288293

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+
289299
.. _connection-options:
290300

291301
Connection Options
292302
------------------
293-
303+
294304
.. _direct-connection-option:
295305

296306
This section explains MongoDB connection and authentication options
@@ -390,7 +400,7 @@ parameters of the connection URI to specify the behavior of the client.
390400
- Specifies the maximum amount of time, in milliseconds, the Java
391401
driver will continue to use a pooled connection before closing the
392402
connection.
393-
403+
394404
* - **journal**
395405
- boolean
396406
- 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.
484494
- boolean
485495
- Specifies that the driver must retry supported read operations
486496
if they fail due to a network error. Defaults to ``true``.
487-
497+
488498
* - **uuidRepresentation**
489499
- string
490500
- Specifies the UUID representation to use for read and write

0 commit comments

Comments
 (0)