From 5c9fb076770f0656967226399affa45cbcaab9c3 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 22 Oct 2018 12:51:19 +0200 Subject: [PATCH] polishing doc Resolves #1504 --- .../src/main/asciidoc/spring-cloud-stream-overview.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc b/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc index cc6d08db3..dbfb2a314 100644 --- a/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc +++ b/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc @@ -2468,9 +2468,9 @@ When autoconfiguration is disabled, the test binder is available on the classpat Spring Cloud Stream provides a health indicator for binders. It is registered under the name `binders` and can be enabled or disabled by setting the `management.health.binders.enabled` property. -You need to provide the required actuator dependencies in your application to enable health check - `spring-boot-starter-actuator` and `spring-boot-starter-web`. +To enable health check you first need to enable both "web" and "actuator" by including its dependencies (see <>) -If `management.health.binders.enabled` is not set explicitly by the application, then `management.health.defaults.enabled` is matched as true and the binder health indicators are enabled. +If `management.health.binders.enabled` is not set explicitly by the application, then `management.health.defaults.enabled` is matched as `true` and the binder health indicators are enabled. If you want to disable health indicator completely, then you have to set `management.health.binders.enabled` to `false`. You can use Spring Boot actuator health endpoint to access the health indicator - `/actuator/health`. @@ -2479,8 +2479,8 @@ In order to receive the full details from the binder specific health indicators, Health indicators are binder-specific and certain binder implementations may not necessarily provide a health indicator. -If you want to completely disable all the out of the box health indicators support from Spring Cloud Stream and instead provide your own health indicators, -you can do that by setting the property `management.health.binders.enabled` to false and then provide your own `HealthIndicator` beans in your application. +If you want to completely disable all health indicators available out of the box and instead provide your own health indicators, +you can do so by setting property `management.health.binders.enabled` to `false` and then provide your own `HealthIndicator` beans in your application. In this case, the health indicator infrastructure from Spring Boot will still pick up these custom beans. Even if you are not disabling the binder health indicators, you can still enhance the health checks by providing your own `HealthIndicator` beans in addition to the out of the box health checks.