lbhfuture opened a new issue, #11937: URL: https://github.com/apache/dubbo/issues/11937
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [ x ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ## Ask your question here 使用 ObjectAttachment 传递租户信息时,报不支持的 attachment k。 提示信息如下: ``` 2023-03-27T11:31:40.420+08:00 WARN 18149 --- [ XNIO-1 task-2] o.a.d.r.protocol.tri.stream.StreamUtils : [DUBBO] Unsupported attachment k: tenant_attachment class: com.xxx.TenantAttributesSupport$TenantAttributes, dubbo version: 3.2.0-beta.5, current host: 10.98.78.92, error code: 4-1. This may be caused by , go to https://dubbo.apache.org/faq/4/1 to find instructions. ``` 使用方式是自定义 Filter,在 invoke 方法里调用 `Object tenant = invocation.getObjectAttachment(AttachmentKey.TENANT);`。 使用的版本是 3.2.0-beta.5。 请问这个问题是什么原因出现的,我需要如何消除。 -- 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]
