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

to make proxy.StreamDirector return an array of grpcClientConnection #71

Open
abhishekkarigar opened this issue Jul 13, 2023 · 2 comments

Comments

@abhishekkarigar
Copy link

currently the proxy.StreamDirector returns single grpc.ClientConn.
what if i need to return multiple grpc ClientConn at once. this support needs to be added.

current supported:
type StreamDirector func(ctx context.Context, fullMethodName string) (context.Context, *grpc.ClientConn, error)

Required
type StreamDirector func(ctx context.Context, fullMethodName string) (context.Context, []*grpc.ClientConn, error)

@abhishekkarigar
Copy link
Author

@mwitkow

@vtolstov
Copy link

vtolstov commented Aug 4, 2023

why we need to return multiple connections at once ?

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

No branches or pull requests

2 participants