smallrye / smallrye-reactive-messaging

SmallRye Reactive Messaging
http://www.smallrye.io/smallrye-reactive-messaging/
Apache License 2.0
242 stars 179 forks source link

Disabling RabbitMQ Liveness Checks but not Readiness Checks #2552

Open soframel opened 8 months ago

soframel commented 8 months ago

Hello,

Concerning health checks for rabbitmq connector, could we add a configuration to disable the liveness checks only? It is currently possible to disable both checks, and since #2326, it is also possible to disable a readiness check, using "health-readiness-enabled". But I did not find any option to disable the liveness check without disabling the readiness check ?

The use case is that in a Kubernetes application (a Quarkus application in my context), I thought that it was better to put checks to external systems only in the readiness check, so that pods are not restarted repeatedly if the external system is down, but only considered as "not ready".

ozangunalp commented 7 months ago

We are working on a solution to filter health checks in Quarkus with a config. It should land soon.

soframel commented 6 months ago

Hello, any news on this? Would you have a target release? Thank you.