Replies: 2 comments
-
OK that you reach out to be sure to have the idiomatic solution. I am not aware of any API you could use instead of trying to connect. So, you can just wrap this line in a try/catch block and you will be fine. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think it should be possible to add a good healthcheck as part of the grpc. I don't expect this near future. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a janusgraph server running as a dedicated gremlin server.
To connect to it i'm using another service as a client which uses the java connector.
Occasionally i get exceptions like All hosts are considered unavailable due to previous exceptions. Check the error log to find the actual reason.
I need to setup a health check in this client service such that whenever no hosts are available, the health check automatically fails.
What can be used as a safe health check logic ?
Beta Was this translation helpful? Give feedback.
All reactions