Clients
gRPC command-line tool
Users have a chance to use any command-line tool to interact with the Banyand server. The only limitation is the CLI tool has to support file descriptor files since the database server does not support server reflection.
Buf is a Protobuf building tooling the BanyanDB relies on. It can provide FileDescriptorSets usable by gRPC CLI tools like grpcurl
BanyanDB recommends installing Buf by issuing
$ make -C api generate
Protobuf schema files are compiled
Above command will compile *.proto after downloading buf into <project_root>/bin
Users could leverage buf’s internal compiler to generate the FileDescriptorSets
$ cd api
$ ../bin/buf build -o image.bin
If grpcurl is the CLI tool to access the APIs of BanyanDb. To use image.bin with it on the fly:
$ grpcurl -plaintext -protoset image.bin localhost:17912 ...
Java Client
The java native client is hosted at skywalking-banyandb-java-client.