Merge branch '2.7.x'
Closes gh-32248
This commit is contained in:
@@ -8,7 +8,7 @@ Spring Boot first attempts to create a client by checking the following configur
|
||||
* A configuration file defined by the configprop:spring.hazelcast.config[] property.
|
||||
* The presence of the `hazelcast.client.config` system property.
|
||||
* A `hazelcast-client.xml` in the working directory or at the root of the classpath.
|
||||
* A `hazelcast-client.yaml` in the working directory or at the root of the classpath.
|
||||
* A `hazelcast-client.yaml` (or `hazelcast-client.yml`) in the working directory or at the root of the classpath.
|
||||
|
||||
If a client can not be created, Spring Boot attempts to configure an embedded server.
|
||||
If you define a `com.hazelcast.config.Config` bean, Spring Boot uses that.
|
||||
@@ -23,7 +23,7 @@ You could also specify the Hazelcast configuration file to use through configura
|
||||
config: "classpath:config/my-hazelcast.xml"
|
||||
----
|
||||
|
||||
Otherwise, Spring Boot tries to find the Hazelcast configuration from the default locations: `hazelcast.xml` in the working directory or at the root of the classpath, or a `.yaml` counterpart in the same locations.
|
||||
Otherwise, Spring Boot tries to find the Hazelcast configuration from the default locations: `hazelcast.xml` in the working directory or at the root of the classpath, or a `.yaml`/`.yml` counterpart in the same locations.
|
||||
We also check if the `hazelcast.config` system property is set.
|
||||
See the https://docs.hazelcast.org/docs/latest/manual/html-single/[Hazelcast documentation] for more details.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user