2016-05-05 20:56 GMT+02:00 Eric Anderson <
ej...@google.com>:
> We're expecting 1 month, maybe 2. We've been trying to do 6 week releases,
> but the last one did end up being delayed by a month. This next release is
> semi-likely to be GA, so that may also change when we release a bit.
Okay, I'm looking forward to that release.
All in all, the experience of using GRPC was great so far. :)
> It's internal, and both public Statuses make a similar departure from it. I
> wouldn't expect it to be very useful to you, honestly.
Nevermind, the available status models seem very well engineered and
are suitable for my needs.
> Yes. To be clear, the server would still provide a status code and possibly
> a description. The trailer metadata is for additional, application-specific
> details.
Yes, thats what I meant.
Another thing I just noted:
Whats the difference between doing:
responseObserver.onError(new
StatusRuntimeException(io.grpc.Status.NOT_FOUND.withDescription("test
description")));
and
throw new StatusRuntimeException(io.grpc.Status.NOT_FOUND.withDescription("test
description"));
in a rpc method implementation?
Both provoke exactly the same behavior in my client. Is there a reason
why I should pefer one method over the other or are there special
cases when one should be used? Looking at it, throwing a exception
seems the simpler variant.