-
-
Notifications
You must be signed in to change notification settings - Fork 642
Description
[Question]
Hi, I've previously implemented pbgrpc.CentrifugoProxyServer with GRPC protobuf for (i) SubscribeUnidirectional and (ii) SubscribeBidirectional. However, recently I would want to consider migrating to ConnectRPC because:
- most of our other API endpoints are using ConnectRPC
- I would want to leverage on our internal authentication / authorization envoys on ConnectRPC, so that the streaming can be intercepted with proper auth control
I see that centrifugo/proxyproto connectrpc generated protobufs are available on https://buf.build/centrifugo/proxyproto/sdks, hence I was experimenting on it and migrated the streaming server to use ConnectRPC instead of GRPC. After re-deploying both centrifugo service and our streaming server, I just realised that only GRPC endpoints are supported. I would want to check if ConnectRPC proxy streaming will be supported soon? Or currently is there any way to implement this on ConnectRPC?
...
[Example]
After implementing our streaming server to use ConnectRPC with proper configuration to the connectrpc HTTP endpoints, the centrifugo service will have these errors:
{"level":"fatal","time":"2024-10-11T07:39:28Z","message":"error creating subscribe stream proxy stream_logs_pod only GRPC endpoints supported"}
Please let me know if any other details needed, thanks in advanced for your help!