Make turbine.combineHostPort=true the default.

fixes gh-1087
parent 09cc1f2d
...@@ -581,7 +581,7 @@ turbine: ...@@ -581,7 +581,7 @@ turbine:
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`.
NOTE: by default the native Netflix behaviour built into Turbine does _not_ allow multiple processes per host, per cluster (the key to the instance id is the hostname). Spring Cloud generalizes this a bit, allowing the host and port to be used as the key, but only if you set the property `turbine.combineHostPort=true` NOTE: by default Spring Cloud allows Turbine to use the host and port to allow multiple processes per host, per cluster. If you want the native Netflix behaviour built into Turbine that does _not_ allow multiple processes per host, per cluster (the key to the instance id is the hostname), then set the property `turbine.combineHostPort=false`.
=== Turbine Stream === Turbine Stream
......
...@@ -35,7 +35,7 @@ public class TurbineProperties { ...@@ -35,7 +35,7 @@ public class TurbineProperties {
private String appConfig; private String appConfig;
private boolean combineHostPort = false; private boolean combineHostPort = true;
public List<String> getAppConfigList() { public List<String> getAppConfigList() {
if (!StringUtils.hasText(this.appConfig)) { if (!StringUtils.hasText(this.appConfig)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment