From cf95248c377cd499f4314551b1b82ea2b40838f9 Mon Sep 17 00:00:00 2001 From: Flora KALISA Date: Mon, 20 Jan 2020 22:18:13 +0100 Subject: [PATCH] Documents defaultZone case sensitivity Fixes gh-3695 --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 4b61bce78..c7ae95570 100755 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -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`. 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.