I am not sure how to do this in python, but in go-lang following can be used - grpc-proxy/proxy at master · mwitkow/grpc-proxy · GitHub <https://github.com/mwitkow/grpc-proxy/tree/master/proxy>
In go lang, grpc has - "grpc.UnknownServiceHandler" which could be used to write a transparent proxy. -Vivek On Mon, Sep 12, 2022 at 12:55 PM shikha singhal <singhalshikha...@gmail.com> wrote: > Hi yuri, Hi Sre, > > Any idea how I can create a generic proto file for this type of request > and response? > > > On Thu, 8 Sep, 2022, 10:16 am shikha singhal, <singhalshikha...@gmail.com> > wrote: > >> I am trying to create a grpc server which can take request from client >> and forward the same request to another server. >> >> >> On Thu, 8 Sep, 2022, 10:09 am Aggarwal Sre, <sre.aggar...@gmail.com> >> wrote: >> >>> Are you looking for transparent proxy? >>> >>> On Wed, Sep 7, 2022 at 7:46 PM shikha singhal < >>> singhalshikha...@gmail.com> wrote: >>> >>>> I want to have a generic proto file which accepts tf serving predict >>>> request and then I can forward the same to tf serving. >>>> >>>> On Wed, 7 Sep, 2022, 11:17 pm 'Yuri Golobokov' via grpc.io, < >>>> grpc-io@googlegroups.com> wrote: >>>> >>>>> Hello, can you provide more details, please? >>>>> >>>>> On Monday, September 5, 2022 at 10:47:11 PM UTC-7 >>>>> singhals...@gmail.com wrote: >>>>> >>>>>> how to do grpc call forwarding with python >>>>> >>>>> -- >>>>> 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 view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/grpc-io/db5ab9c9-b046-4470-8de8-efc8e5404c95n%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/grpc-io/db5ab9c9-b046-4470-8de8-efc8e5404c95n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> 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 view this discussion on the web visit >>>> https://groups.google.com/d/msgid/grpc-io/CADmKXNt8YNh-cU%2BK4CcD2NS6e2FOqTUB0rVz9XxNBhKgBbyfKg%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/grpc-io/CADmKXNt8YNh-cU%2BK4CcD2NS6e2FOqTUB0rVz9XxNBhKgBbyfKg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CABsnPPLiGkwNHjJG7jUA3xV%2B__j4t7w1_qHpRH9Jdv9Z8TGv9g%40mail.gmail.com.