gRPC does not provide a way to start an RPC from the server side. RPCs are always started from the client side.
The general approach I would recommend in this kind of situation is to use a bidi streaming call that the client keeps open at all times, so that the server can use that to send a message whenever it wants to. Can you say more about why streaming does not work for your use-case? On Fri, Dec 9, 2022 at 9:17 PM Manikandan V S <manikanda...@gmail.com> wrote: > We are in process of migrating WCF to gRPC core. Currently in WCF we have > a duplex connection and we use the call back contract to even notify all > clients on need basis. The implementation is something similar to what is > explained in this question > <https://stackoverflow.com/questions/5739501/how-can-a-wcf-service-raise-events-to-its-clients> > . > We are trying to migrate this service to gRPC and have explored client > streaming, server streaming and bi-directional streaming. None of these > works for us. Is there any way that this can be implemented in 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/8a94972b-ecc1-4f8a-ac2b-152a2af9d7een%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/8a94972b-ecc1-4f8a-ac2b-152a2af9d7een%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Mark D. Roth <r...@google.com> Software Engineer Google, Inc. -- 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/CAJgPXp7_1wnfxM2U6T%3DcgDv2Qnjp7G5fKopM3gAsrbBfMmGRUw%40mail.gmail.com.