Connection health check when creating client

Posted by damienburke:

Hi, I was wondering if there was a way to check if a connection to a Dgraph instance is available immediately after the dgraph4j client is setup. This way, I can check before hand if my first queries/mutations are going to fail.

Connection health check when creating client · Issue #128 · dgraph-io/pydgraph · GitHub reported identical request and was “fixed” by exposing check_version call.
Thanks

abhimanyusinghgaur commented :

Thanks @damienburke,

We will look into it.

This feature was added in master with this PR and released with dgraph4j v20.03.1.