google-api-go-client
google-api-go-client copied to clipboard
feat(transport/grpc): add a getter for grpcconnpool size
The Bigtable Go client library allows users to configure the underlying gRPC connection pool size using option.WithGRPCConnectionPool(size) when creating a new client. However, the Bigtable client code itself has no direct way to access the size value that the user provided. This is because the option is applied to an internal DialSettings struct within the google.golang.org/api dependencies, and the final pool size is not exposed.
We need to access this size to use the custom Bigtable Channel Pool.
@nimf FYI if this is the right way to fix this.