Clarify turnine config some more

This commit is contained in:
Dave Syer
2016-06-09 16:48:03 +01:00
parent 53a3076e1c
commit ad7e341b78

View File

@@ -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`.