yyhclimacool opened a new issue, #1978:
URL: https://github.com/apache/incubator-brpc/issues/1978

   我们的生产环境是基于istio的service mesh,我需要实现一致性hash的负载均衡策略,传输协议我们使用http,这样service 
mesh可以基于http里的header做一致性hash(比如http的header 
requestid,每次请求让requestid赋值为本次请求的logid);
   这样我的client端protocol需要为http,我如何能定制这样的requestid的header呢?
   
   我试过了调用cntl.SetHeader("requestid", logid),从服务端日志看一致性hash的负载均衡策略没有生效。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to