Commit 810fdf44 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '2.2.x' into 2.3.x

Closes gh-22589
parents c2aa6cbc b631fa14
......@@ -4262,6 +4262,10 @@ For example, you might declare the following settings in your `application.prope
If you have defined your own `MongoClient`, it will be used to auto-configure a suitable `MongoDatabaseFactory`.
The auto-configured `MongoClient` is created using `MongoClientSettings`.
To fine-tune its configuration, declare one or more `MongoClientSettingsBuilderCustomizer` beans.
Each will be called in order with the `MongoClientSettings.Builder` that is used to build the `MongoClientSettings`.
TIP: If `spring.data.mongodb.port` is not specified, the default of `27017` is used.
You could delete this line from the example shown earlier.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment