Skip to content

[question] ConnectRPC interfaces for proxy stream available but unable to do http proxy stream #899

@ruijietey

Description

@ruijietey

[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:

  1. most of our other API endpoints are using ConnectRPC
  2. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions