AlbumenJ commented on issue #10446: URL: https://github.com/apache/dubbo/issues/10446#issuecomment-1375476617
> 请问除了自己将全局参数缓存到ThreadLocal之外,Dubbo还有什么方法可以实现这样的针对一次请求的全局参数。连续调用多个远程方法,attachments在调用第一个远程方法完毕后被清空,无法连续传递。 可以通过全链路追踪的工具去传递,仅在 Dubbo 的角度如果调用后不清理的话造成的内存泄漏风险会更严重 -- 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: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org