From ad7e341b78b276d70eb952799db916e5e5c1069b Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 9 Jun 2016 16:48:03 +0100 Subject: [PATCH] Clarify turnine config some more --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 44fa5873..89998eaa 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -571,12 +571,12 @@ turbine: In this case, the cluster name from 4 services is pulled from their metadata map, and is expected to have values that include "SYSTEM" and "USER". -To use the "default" cluster for all apps you need a string literal expression (with single quotes): +To use the "default" cluster for all apps you need a string literal expression (with single quotes, and escaped with double quotes if it is in YAML as well): ---- turbine: appConfig: customers,stores - clusterNameExpression: 'default' + clusterNameExpression: "'default'" ---- Spring Cloud provides a `spring-cloud-starter-turbine` that has all the dependencies you need to get a Turbine server running. Just create a Spring Boot application and annotate it with `@EnableTurbine`.