The grpc-pubsub server and client use grpc go libraries and pubsub library to implement pubsub service.
Please refer to pubsub for more information.
See the definition of the pubsub service in pubsub/pubsub.proto
.
To compile and run the server, assuming you are in the root of the grpc-pubsub
folder, i.e., .../grpc-pubsub/
, simply:
$ go run ./pubsub-server
Likewise, to run the client:
$ go run ./pubsub-cli