Oh. I misread the question. I was talking about a scenario where you have a grpc interface already and looking to add a rest interface. My bad.
On Wed, Mar 10, 2021 at 12:57 AM Sanjay Pujare <[email protected]> wrote: > Envoy is unnecessary if you run the gRPC server on a different port. > > On Tue, Mar 9, 2021 at 12:39 AM Russell Wu <[email protected]> wrote: > >> I think you can achieve that in many different ways, some options: >> 1. Add a service controller layer that implements the actual business >> logic between grpc/rest interface implementations and your DAO. >> 2. Use envoy to provide a rest proxy in front of grpc service >> >> >> On Tue, Mar 9, 2021 at 4:08 PM Mahesh Kanote <[email protected]> >> wrote: >> >>> Yes, we can do that by running grpc server on different port. >>> >>> Thanks, >>> Mahewj >>> >>> On Tue, Mar 9, 2021, 1:30 PM Pawan Shriwas <[email protected]> >>> wrote: >>> >>>> I am talking about the case where my spring boot application server >>>> which is right now equipped with rest interfaces, I want it to be also >>>> equipped with gRPC interfaces for same service layer so that my same >>>> micro-service support same service interface for rest and gRCP. >>>> >>>> for more understanding i have draw the case below that i need rest and >>>> grcp in my application, let me know if that is feasible. >>>> >>>> [image: Untitled Diagram (1).png] >>>> >>>> >>>> On Monday, March 8, 2021 at 9:55:37 PM UTC+5:30 [email protected] >>>> wrote: >>>> >>>>> Yes, you can use the gRPC client for talking to gRPC services and a >>>>> REST client for talking to REST services assuming you are talking about >>>>> client side coexistence. >>>>> >>>>> On Mon, Mar 8, 2021 at 7:26 AM Pawan Shriwas <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Guys, >>>>>> >>>>>> I there any way where we can use Rest and gRPC in together in >>>>>> spring-boot/java application. >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> >>>>>> -- >>>>>> 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 view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/grpc-io/7614e847-21bc-4571-9231-c433ac6a1fadn%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/grpc-io/7614e847-21bc-4571-9231-c433ac6a1fadn%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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/grpc-io/651cba87-c998-4c3e-9d0d-db36d41ddbe4n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/grpc-io/651cba87-c998-4c3e-9d0d-db36d41ddbe4n%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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/grpc-io/CAFgyg%3DAVO26WXTez-ZaWbw70EYx3VThaL199u9mF_geNuyt2Rg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/grpc-io/CAFgyg%3DAVO26WXTez-ZaWbw70EYx3VThaL199u9mF_geNuyt2Rg%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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/CAABt8Y_Af1d%3DjbwLLCctkb3zQJzwzV95b4eQA5QgXJzoED1NFA%40mail.gmail.com >> <https://groups.google.com/d/msgid/grpc-io/CAABt8Y_Af1d%3DjbwLLCctkb3zQJzwzV95b4eQA5QgXJzoED1NFA%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAABt8Y9hPhMYWBiDZPQPWKEk0t3645%3DedOj4-pQX9DM%3D7jFM3w%40mail.gmail.com.
