"One way to do this in a microservices environment would be to send the
field as a separate query or header parameter, but Grpc doesn't support
them." - gRPC does support custom headers.

On Wed, Dec 21, 2016 at 2:30 PM, <ccl...@dieselpoint.com> wrote:

> In our app we need to accept a (large) Grpc message, extract a field, and
> then based on the value of that field forward the message on to another
> server.
>
> I'm trying to avoid the overhead of completely deserializing the message
> before passing it on.
>
> One way to do this in a microservices environment would be to send the
> field as a separate query or header parameter, but Grpc doesn't support
> them.
>
> Another way would be to extract just the field of interest from the
> payload, but Protobuf doesn't support partial or selective deserialization.
>
> How else can I do this?
>
>
>
> --
> 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 grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> 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/4181d2cf-2bda-4f9d-8b08-abb177855323%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/4181d2cf-2bda-4f9d-8b08-abb177855323%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
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/CALCUQvjcv%2BYGDPXSw%2BJuV6JTctpCo9VwO7Wwg88z%2BKraciZrsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to