Awesome, much appreciated Eric! I'll give this a try. - Matt
On Thursday, August 31, 2017 at 11:13:34 AM UTC-4, Eric Anderson wrote: > > On Tue, Aug 22, 2017 at 8:35 AM, <[email protected] <javascript:>> > 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/2d418d1e-4e91-42af-bd0b-341d1c138298%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
