Browse Source

Clarify turnine config some more

pull/6/head
Dave Syer 9 years ago
parent
commit
ad7e341b78
  1. 4
      docs/src/main/asciidoc/spring-cloud-netflix.adoc

4
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". 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: turbine:
appConfig: customers,stores 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`. 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`.

Loading…
Cancel
Save