zuul 使用线程池隔离时,RequestContext 上下文会丢失
jackorjack opened this issue · 5 comments
jackorjack commented
HaojunRen commented
<!-- 当Zuul用Hystrix做线程隔离的时候,才需要导入下面的包 -->
<!-- <dependency>
<groupId>com.nepxion</groupId>
<artifactId>discovery-plugin-strategy-starter-hystrix</artifactId>
<version>${discovery.version}</version>
</dependency> -->
jackorjack commented
这个有依赖,spring.application.strategy. hystrix.threadlocal.supported=true也配置了
HaojunRen commented
n-d-version从界面传入了么?
jackorjack commented
没有,只是实现了ZuulStrategyRouteFilter 重写了getRouteVersion 方法
HaojunRen commented
微信 1394997