Grpc server with async and sync services at the same time

20 views
Skip to first unread message

Adrian Tut

unread,
May 16, 2022, 10:33:35 AMMay 16
to grpc.io

I need to be able to serve responses for some particular requests from the main thread, while the rest can arrive from any thread. With that in mind, I created a GRPC server which has 2 services, one is implemented as an AsyncService, and the other as a sync service.

However, when adding a completion queue, the sync service no longer responds to requests.

Is that not supported and if so, what alternatives are there?

Reply all
Reply to author
Forward
0 new messages