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 consider writing a protoc plugin that generates code in the REST style familiar to your existing codebase.
On Thursday, August 18, 2016 at 10:48:38 AM UTC-6, [email protected] wrote: > > Our app has a REST API we've implemented using Jax-RS, Jetty, and > Resteasy. > > I'd like to port the whole thing to gRPC, and offer both a gRPC and a > JSON/REST interface to our customers. > > Our product is not yet released, so I have some flexibility in redesigning > the API. But it's going to be necessary to support query parameters in the > URL, i.e. GET /hello?foo=bar > > Is this possible using the Java code? Maybe there's a Netty component for > it? > > (I see that there is a way to do it in Go: > https://github.com/grpc-ecosystem/grpc-gateway. Need the same thing in > Java.) > > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/c3040840-0c0d-4082-a89e-4294c6c6751a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
