Grpc filter with split requests

9 views
Skip to first unread message

Sumukh Shivaprakash

unread,
Apr 11, 2020, 7:22:11 PM4/11/20
to envoy-dev
I want to write a grpc filter that splits a request into multiple requests and forwards to various upsstream clusters and aggregates the response before replying back to the client.

Is there an example of a filter that does something like this?

Matt Klein

unread,
Apr 18, 2020, 6:28:54 PM4/18/20
to Sumukh Shivaprakash, envoy-dev
Not really. The easiest way to do this right now would be to write a new terminal filter that works like the router filter but issues multiple requests, waits for them and does the aggregation. You might be able to modify/enhance the router filter to do this, but that filter is already incredibly complicated and I would be weary of adding something like this unless it was really well abstracted.

On Sat, Apr 11, 2020 at 4:22 PM Sumukh Shivaprakash <sumuk...@gmail.com> wrote:
I want to write a grpc filter that splits a request into multiple requests and forwards to various upsstream clusters and aggregates the response before replying back to the client.

Is there an example of a filter that does something like this?

--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/cfab4a4e-bdbf-4555-b97d-a05d983c54cc%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages