If failFast=false only log warnings for config loading.
fixes gh-137
This commit is contained in:
@@ -185,6 +185,11 @@ You could store a YAML document in any of the keys listed above.
|
||||
|
||||
You can change the data key using `spring.cloud.consul.config.data-key`.
|
||||
|
||||
[[spring-cloud-consul-failfast]]
|
||||
== Fail Fast
|
||||
|
||||
It may be convenient in certain circumstances (like local development or certain test scenarios) to not fail if consul isn't available for configuration. Setting `spring.cloud.consul.config.failFast=false` will cause the configuration module to log a warning rather than throw an exception. This will allow the application to continue startup normally.
|
||||
|
||||
[[spring-cloud-consul-retry]]
|
||||
== Consul Retry
|
||||
|
||||
@@ -203,7 +208,7 @@ Retry has a `RetryInterceptorBuilder` that makes it easy to create one.
|
||||
[[spring-cloud-consul-bus]]
|
||||
== Spring Cloud Bus with Consul
|
||||
|
||||
TODO: document Spring Cloud Consul Bus
|
||||
Coming in a later release.
|
||||
|
||||
[[spring-cloud-consul-hystrix]]
|
||||
== Circuit Breaker with Hystrix
|
||||
|
||||
Reference in New Issue
Block a user