Documents defaultZone case sensitivity

Fixes gh-3695
This commit is contained in:
Flora KALISA
2020-01-20 22:18:13 +01:00
committed by Spencer Gibb
parent a6da307048
commit cf95248c37

View File

@@ -63,7 +63,9 @@ eureka:
defaultZone: http://localhost:8761/eureka/
----
In the preceding example, "defaultZone" is a magic string fallback value that provides the service URL for any client that does not express a preference (in other words, it is a useful default).
In the preceding example, `defaultZone` is a magic string fallback value that provides the service URL for any client that does not express a preference (in other words, it is a useful default).
WARNING: The `defaultZone` property is case sensitive and requires camel case because the `serviceUrl` property is a `Map<String, String>`. Therefore, the `defaultZone` property does not follow the normal Spring Boot snake-case convention of `default-zone`.
The default application name (that is, the service ID), virtual host, and non-secure port (taken from the `Environment`) are `${spring.application.name}`, `${spring.application.name}` and `${server.port}`, respectively.