New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an actuator health indicator to check the connection between the application and Axon Server #1964
Comments
Thanks for drafting this feature request with us @rzcastilho! |
Hello @smcvb! Any updates on this feature? Thanks |
Fair question, @thays-bfc! I can state that my schedule doesn't allow for this effort for the upcoming release. Hence, I'll reignite the internal discussion on this. In short: stay tuned! |
So, sorry for the wait, we've come to the conclusion. As it stands, I've got something working on my local setup. |
I'll keep an eye on 4.6.0 updates. Once again, thank you! |
Expose the connection of the AxonServerConnectionManager through the ConnectionManager interface #1964
Introduce an AxonServer health indicator by implementing the AbstractHealthIndicator. It should add the connectivity of the existing contexts within the AxonServerConnectionManager through the Health .Builder #1964
Introduce an autoconfiguration class constructing an AxonServerHealthIndicator bean if actuator is present on the classpath #1964
Fix the broken spring boot tests by ignoring the new AxonServerActuatorAutoConfiguration either by excluding it or through the axonserver.enabled=false property #1964
Adjust the AxonServerHealthIndicator to share a status field as well. This status field should include the additional status "WARN" for when one of the contexts the app is connected with, is down. To support this thoroughly, a StatusAggregate should be included. #1964
- Add private constructor for the utility class HealthStatus - Check for nullability of the connectionStatus boxed boolean #1964
[#1964] Include `AxonServerHealthIndicator`
Feature Description
Implement the
AbstractHealthIndicator
to return the connection status between applications and Axon Server.Current Behaviour
There is no integrated way (spring boot) to check the connection status between the application and Axon Server.
For instance, in a Kubernetes cluster, the liveness/readiness probes attached to the
/actuator/health
don't receive a down status because there's no health indicator for the connection between the application and Axon Server, causing problems to the consumers.Wanted Behaviour
Return the status down at
/actuator/health
if the application faces some problem connecting to Axon Server.The text was updated successfully, but these errors were encountered: