Skip to content

Set routing header for StreamingPull RPC #4470

@dbolduc

Description

@dbolduc

The routing header (x-goog-request-params) should include the requests subscription field. i.e. the value should be subscription=projects/my-project/subscriptions/my-subscription.

It will sadly take a mini refactor to plumb this, as the interface only accepts a channel.

My first instinct is to just add a subscription: &str to the interface (assuming lifetimes aren't an issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: pubsubIssues related to the Pub/Sub API.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions