-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
集成gateway。traceId线程问题 #14
Comments
请问是否可以回复,是我使用方式的问题还是? |
我也遇到同样的问题,期待解答 |
请问你解决了吗? |
没解决 我在gitee提交的同样的问题也没有回复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
开发者您好:
根据图示,目前我开发版本为:springcloud2022.0.1 springboot2.6.6 tlog-all 1.4.1
项目启动,通过gateway首次请求接口,gateway中的traceId不会打印出来,通过webflux 包下的代码看到是上下文对象没有实例化,推断为拦截器加载顺序的问题。下游web服务之间的传递没有问题。
最严重的问题是gateway的上下文对象会有线程问题,如图所示。请求了7次接口,前六次gateway没有打印traceId,第七次打印出来的traceId是第一次下游接口已经转发过的traceId
The text was updated successfully, but these errors were encountered: