grpc / grpc/grpc-go

serviceconfig: support specifying default service config using a native go struct

Open
#3,003 12 comments 10 reactions 0 assignees View on GitHub
Area: Client P3 Type: Feature
Dominant language
Go
Stars
23.1k
Forks
4.8k
Avg merge
2d 1h
Merged PRs (30d)
43

Description

### Use case(s) - what problem will this feature solve?

It seems WithBalancerName is deprecated in https://github.com/grpc/grpc-go/pull/2900 in favor of WithDefaultServiceConfig. WithDefaultServiceConfig accepts only raw JSON, so if we want to use specific balancer statically, we need to use JSON to specify that.

### Proposed Solution

Please keep WithBalancerName as is, or another way to specify the configurations instead of using JSON.

### Alternatives Considered

### Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.