-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
The unique way we have to use a proxy for PubSub Client is to set https_proxy over env variable.
This is a limit for this library because it could generate a conflict with other libraries that use the same logic.
We should be able to specify the proxy only for a specific service (like google), not globally.
A way to set https proxy should be allowed directly into constructor PubSub().
Please add a proxy option into ClientConfig configuration.
Eg.
export interface ClientConfig extends gax.GrpcClientOptions {
apiEndpoint?: string;
servicePath?: string;
port?: string | number;
sslCreds?: gax.grpc.ChannelCredentials;
proxyHttps?: string; // new parameter suggested
}
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.