[grpc-io] bazel rules_protobuf (java)

2016-07-31 Thread Paul Johnston
I've been struggling to find a clean way to generate protobufs for java with gRPC support with bazel, so I just released rules_protobuf at https://github.com/pubref/rules_protobuf/tree/0.1.1. If you are new to http://bazel.io, this might be a good way to try it out. As it will automatically

[grpc-io] Re: bazel rules_protobuf (java)

2016-08-03 Thread Paul Johnston
Paul On Sunday, July 31, 2016 at 7:26:19 PM UTC-6, Paul Johnston wrote: > > I've been struggling to find a clean way to generate protobufs for java > with gRPC support with bazel, so I just released rules_protobuf at > https://github.com/pubref/rules_protobuf/tree/0.1.1. >

[grpc-io] Re: Implementing a REST API in Java

2016-08-18 Thread Paul Johnston
Maybe it's possible to use what you have already and use that as the reverse-proxy to a yet-to-be-written gRPC service for some of the most performance-critical parts of your API, and see if that gRPC offering works for you and your customers. Once you discover the patterns you like, you could

[grpc-io] Re: gRPC 1.0.0 released

2016-08-23 Thread Paul Johnston
Woot! Looks nice. On Tuesday, August 23, 2016 at 10:56:27 AM UTC-6, Nicolas Noble wrote: > > Hello everyone, > > This is with great pleasure that we are now announcing that gRPC got the > General Availability status, and that version 1.0.0 is now released. > > You can check the releases note

[grpc-io] Re: Strategy for distributing protobuf APIs

2016-08-26 Thread Paul Johnston
My opinion, YMMV... The service abstraction is already captured by the proto3 file A.proto, so I would either: 1. distribute no implementation (just the A.proto) 2. everything (A.jar with transitive deps). If you just distribute the proto file (my preferred choice), your client B can gener

[grpc-io] Re: Getting io.netty.handler.codec.http2.Http2Exception$StreamException: Stream closed before write coul

2016-09-20 Thread Paul Johnston
What's what the purpose of System.in.read() before stopping the server? The HelloWorld started example uses something like the following: public void start() throws IOException { server = ServerBuilder.forPort(port) .addService(new GreeterImpl()) .build() .start();

[grpc-io] Re: Build grpc with bazel

2018-04-17 Thread Paul Johnston
How did you invoke bazel? (i.e. what target did you invoke, and in what repo?) On Tuesday, April 10, 2018 at 2:44:17 PM UTC-6, Jim King wrote: > > I am having trouble building grpc with bazel. I get the following errors: > > ERROR: > /usr/local/google/home/jsking/.cache/bazel/_bazel_jsking/5829c