File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ tab to see the corresponding syntax:
74
74
:tabid: mongoclientsettings
75
75
76
76
.. literalinclude:: /includes/connect/NetworkCompression.java
77
- :start-after: start-specify-uri
78
- :end-before: end-specify-uri
77
+ :start-after: start-specify-client-settings
78
+ :end-before: end-specify-client-settings
79
79
:language: java
80
80
81
81
.. _java-compression-dependencies:
@@ -85,7 +85,7 @@ Compression Algorithm Dependencies
85
85
86
86
The JDK natively supports `Zlib <https://zlib.net/>`__ compression. However,
87
87
Snappy and Zstandard depend on open source Java implementations. To learn more
88
- about these implementations, see the following Github repositories:
88
+ about these implementations, see the following GitHub repositories:
89
89
90
90
- `snappy-java <https://github.com/xerial/snappy-java>`__
91
91
- `zstd-java <https://github.com/luben/zstd-jni>`__
Original file line number Diff line number Diff line change 5
5
MongoClient client = MongoClients .create (connectionString );
6
6
// end-specify-connection-string
7
7
8
- // start-specify-uri
8
+ // start-specify-client-settings
9
9
MongoClientSettings settings = MongoClientSettings .builder ()
10
10
.compressorList (Arrays .asList (MongoCompressor .createSnappyCompressor (),
11
11
MongoCompressor .createZlibCompressor (),
12
12
MongoCompressor .createZstdCompressor ()))
13
13
.build ();
14
14
15
15
MongoClient client = MongoClients .create (settings );
16
- // end-specify-uri
16
+ // end-specify-client-settings
You can’t perform that action at this time.
0 commit comments