Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add DialOptions to GRPCBroker's Dial #251

Closed

Conversation

alexandreLamarre
Copy link

Motivation

Spiritual successor to : #168

For purpose built client-side interceptors, there can be a need to control which plugins get certain interceptors and this currently isn't possible with GRPCBroker's Dial(id uint32) signature or using "global" dialOpts in the plugin Client Config struct (without changing existing plugin structures to use multiple client instances)

Client-side change

The underlying dial implementation in Dial(id uint32) accepts ...grpc.DialOption so I propose :

Dial(id uint32, dialOpts ...grpc.DialOption) for more fine grained control over GRPCBroker connections.

Signed-off-by: Alexandre Lamarre <alexandre.lamarre@suse.com>
@hashicorp-cla
Copy link

hashicorp-cla commented Apr 14, 2023

CLA assistant check
All committers have signed the CLA.

@robmonte
Copy link
Member

Closed by #257

@robmonte robmonte closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants