huangdong-new opened a new issue #2179:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2179


   背景介绍:
       
我们的edge服务在转发REST请求时有自定义handler处理链鉴权,鉴权逻辑中某个特殊场景需要访问后端的微服务,因AsyncRestTemplate不建议使用,我们采用的是RPC方式。
   问题咨询:
      鉴权处理链中访问后端服务的请求如何避免走cosumer的处理链?只需要走loadbalance处理链就可以了。
   我当前的处理是对比转发和鉴权时invocation中endpoint差异,在代码中识别endpoint为空时直接跳过该处理链。麻烦提供下正版处理方法。
   


----------------------------------------------------------------
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.

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


Reply via email to