You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the JMS producer and consumer stages perform retries (a potentially infinite amount of times), it is hard / impossible to know when the connectivity to the JMS broker is healthy and when it isn't.
Before connection retries were implemented, it was possible to get the connection status (indirectly) from the stream's status:
successfully created and running stream -> connection established and healthy
stream completed with failure -> connection is unhealthy
when the pod is already running, the pod should not receive traffic from its load balancer.
when the pod is a newly created one during a rolling deployment, this deployment needs to be halted until the pod becomes ready (which will never happen in case the JMS connectivity is mis-configured). This allows to prevent replacement of working pods by e.g. mis-configured ones.
So all in all, I think it is very helpful to know what the current connectivity status of the JMS consumer and producers is, and that it would be beneficial to expose it through the stage's materialized value.
The text was updated successfully, but these errors were encountered:
Now that the JMS producer and consumer stages perform retries (a potentially infinite amount of times), it is hard / impossible to know when the connectivity to the JMS broker is healthy and when it isn't.
Before connection retries were implemented, it was possible to get the connection status (indirectly) from the stream's status:
In my setting, I used the JMS connectivity status as a part of the readiness check of the Kubernetes pod my app is running in (https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#define-readiness-probes). In this way, I can signal to Kubernetes that
So all in all, I think it is very helpful to know what the current connectivity status of the JMS consumer and producers is, and that it would be beneficial to expose it through the stage's materialized value.
The text was updated successfully, but these errors were encountered: