File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
source/fundamentals/connection Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -266,12 +266,13 @@ settings to modify the driver's behavior:
266266 TXT records associated with the host. If you want to enable the processing of TXT records,
267267 you must specify the SRV host in the connection string
268268 using the ``applyConnectionString()`` method.
269- | For example:
270- .. code-block:: java
271- :emphasize-lines: 3
272- MongoClient mongoClient = MongoClients.create(
273- MongoClientSettings.builder()
274- .applyConnectionString(new ConnectionString("mongodb+srv://host1.acme.com")))
269+ |
270+ | For example:
271+ .. code-block:: java
272+ :emphasize-lines: 3
273+ MongoClient mongoClient = MongoClients.create(
274+ MongoClientSettings.builder()
275+ .applyConnectionString(new ConnectionString("mongodb+srv://host1.acme.com")))
275276
276277 * - ``srvMaxHosts()``
277278 - | Sets the maximum number of hosts the driver can connect to when using
You can’t perform that action at this time.
0 commit comments