Moved from GitHub dgraph/4871
Posted by Willem520:
Hi,I used dgraph4j in my project,I need get cluster info like “/state” or “/health?all” to ensure my cluster is inited successfully.but in dgraph4j, I can only do mutate,alter and query on data. it means that I need to provide my own method to get the info by using httpclient.
but if I do these, there will have two way to access Dgraph. it look like grpc method is unnecessary，because http method can do all things what grpc do.
I think if the dgraph4j can provide some manage method is much good.it will make me easy to manage my cluster or data.
from my point of view,I think the java client should have manage func like “/state” and data func like “mutate”.now, I can do all of above by http,but java client could not do that completely.