feat: consistent hash balancer support (#5246)

Co-authored-by: 周曙光 <zsg@zhoushuguangdeMacBook-Pro.local>
This commit is contained in:
zhoushuguang
2025-10-19 22:10:30 +08:00
committed by GitHub
parent 568f9ce007
commit e30317e9c4
7 changed files with 343 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ type (
Timeout int64 `json:",default=2000"`
KeepaliveTime time.Duration `json:",optional"`
Middlewares ClientMiddlewaresConf
BalancerName string `json:",default=p2c_ewma"`
}
// A RpcServerConf is a rpc server config.