On Tue, Aug 22, 2017 at 8:35 AM, <[email protected]> wrote:

> Thanks for that info Eric. Do you know of any examples that use the grpc
> HandlerRegistry / Channel for doing something similar?
>

I created a branch with an example:
https://github.com/ejona86/grpc-java/tree/grpc-proxy . Instructions are in
the commit message
<https://github.com/ejona86/grpc-java/commit/29728aeb003ced3c190197c176563643be22bef1>.
The proxy lives in examples/src/main/io/grpc/examples/grpcproxy/ .

It is fairly "complete" in that it handles flow control and arbitrary
services. Note that the core proxy doesn't care about request/response
type; it's only the registry that cares (and it chooses byte[] to handle
anything). You *may* get into small problems with Metadata passing where
some metadata keys need to be cleared out before propagating. It should be
easy to workaround, but file a bug if you notice any.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oMtHQoNMg2iOEK8Kc8zvCPEZCp3dVOs2%3DvUgYXMdhZu3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to