call forwarding/chaining in grpc

555 views
Skip to first unread message

Mayuresh Karandikar

unread,
Feb 8, 2022, 8:32:12 AM2/8/22
to grpc.io
What is the best way to implement call forwarding/chaining using grpc. 

Example scenario: Client A wishes to call service in client C through server/client B. 
A -> B -> C.

I can implement both server and client in B and manually forward the call. Looking to see if there is a way to do this wihout intervention from application logic. Something that is supported at grpc stack level. 

Thanks
Mayuresh

Sanjay Pujare

unread,
Feb 8, 2022, 11:53:46 AM2/8/22
to Mayuresh Karandikar, grpc.io
So B is just a proxy? Have you looked into using Envoy which supports gRPC?

--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/e0be1e87-41d2-4621-be4a-a322abfef0d1n%40googlegroups.com.

Eric Anderson

unread,
Feb 11, 2022, 3:40:29 PM2/11/22
to Mayuresh Karandikar, grpc.io
I have made a "grpc proxy" example in Java, which I've shared a few times. Such things should be possible in most other languages, although the difficulty would vary.

What language is server/client B written in?

On Tue, Feb 8, 2022 at 5:32 AM Mayuresh Karandikar <karand...@gmail.com> wrote:
--
Reply all
Reply to author
Forward
0 new messages