Using Spring Boot together with gRPC and Protobuf

后端 未结 6 1926
傲寒
傲寒 2021-01-31 02:30

Anyone having any examples or thoughts using gRPC together with Spring Boot?

6条回答
  •  青春惊慌失措
    2021-01-31 02:59

    In this Github Repo[1] you will find an example of using gRPC to insert and view the users into the couchbase db. Please refer the proto file[2] to find the rpc methods.

    Normally gRPC clients like bloomRPC is used to access the service. Using envoy proxy it is possible to transcode and access the service using HTTP/1.1. In the readme file the steps of creating a config file and to run the envoy proxy using docker file is shown.

    [1] https://github.com/Senthuran100/grpc-User
    [2] https://github.com/Senthuran100/grpc-User/blob/master/src/main/proto/user.proto

提交回复
热议问题