KafkaStreams binder health check improvements
Allow health checks on KafkaStreams processors that are currently stopped through actuator bindings endpoint. Add this only as an opt-in feature through a new binder level property - includeStoppedProcessorsForHealthCheck which is false by default to preserve the current health indicator behavior. Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/1165 Resolves #1175
This commit is contained in:
committed by
Oleg Zhurakousky
parent
60b6604988
commit
ed8683dcc2
@@ -2121,6 +2121,12 @@ Arbitrary consumer properties at the binder level.
|
||||
producerProperties::
|
||||
Arbitrary producer properties at the binder level.
|
||||
|
||||
includeStoppedProcessorsForHealthCheck::
|
||||
When bindings for processors are stopped through actuator, then this processor will not participate in the health check by default.
|
||||
Set this property to `true` to enable health check for all processors including the ones that are currently stopped through bindings actuator endpoint.
|
||||
+
|
||||
Default: false
|
||||
|
||||
==== Kafka Streams Producer Properties
|
||||
|
||||
The following properties are _only_ available for Kafka Streams producers and must be prefixed with `spring.cloud.stream.kafka.streams.bindings.<binding name>.producer.`
|
||||
|
||||
Reference in New Issue
Block a user