service HelloWorldService {
rpc SayHello(helloworld.HelloRequest) returns (helloworld.HelloResponse) {}
rpc ComplexRequest(complex.ComplexMessage) returns (complex.ComplexMessage) {}
rpc ComplexRequestStream(complex.ComplexMessage) returns (stream complex.ComplexMessage) {}
}
# Build
./gradlew build
java -jar build/libs/grpcbin-1.0.0-server.jar
Use the compiled protos to use with Orkes Conductor service orchestration
cd src/main/protos
protoc --proto_path=. --descriptor_set_out=compiled.bin *.proto