Skip to content

Commit 6185da0

Browse files
committed
fixes
1 parent d62e22e commit 6185da0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

source/connection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sections:
3131
- :ref:`Connect to MongoDB <connect-to-mongodb>`
3232
- :ref:`View a List of Connection Options <connection-options>`
3333
- :ref:`Specify Connection Behavior with the MongoClient Class <specify-mongoclient-settings>`
34-
- :ref:`Enable Network Compression <network-compression>`
34+
- :ref:`Enable Network Compression <java-compression>`
3535
- :ref:`Enable TLS/SSL on a Connection <tls-ssl>`
3636
- :ref:`Connect to MongoDB by Using a SOCKS5 Proxy <java-connect-socks>`
3737
- :ref:`Connect to MongoDB by Using a JNDI Datasource <jndi>`

source/connection/network-compression.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ You can enable compression for the connection to your MongoDB instance
5353
by specifying the algorithms in one of the following ways:
5454

5555
- Use the ``compressors`` parameter in your connection string
56-
- Chain the ``compressorList`` method to the ``MongoClientSettings.builder()`` method
56+
- Chain the ``compressorList()`` method to the ``MongoClientSettings.builder()`` method
5757

58-
This example shows how to specify all compression algorithms. Select the
59-
:guilabel:`Connection String` or :guilabel:`MongoClientSettings` tab to
60-
see the corresponding syntax:
58+
This example shows how to specify the Snappy, Zstandard, and Zlib compression
59+
algorithms. Select thev:guilabel:`Connection String` or :guilabel:`MongoClientSettings`
60+
tab to see the corresponding syntax:
6161

6262
.. tabs::
6363

source/versioning/whats-new.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ New features of the 4.11 driver release include:
420420
- Added Atlas Search index management helpers. To learn more, see :ref:`Atlas Search Indexes <search-indexes>`.
421421

422422
- Updated Snappy and Zstd compression library dependency versions. To learn
423-
more about the current dependency versions, see :ref:`network-compression`.
423+
more about the current dependency versions, see :ref:`java-compression`.
424424
- Added ``getElapsedTime()`` methods to the following classes to monitor the
425425
duration of connection pool events:
426426

0 commit comments

Comments
 (0)