javaofferss opened a new issue, #16576:
URL: https://github.com/apache/dubbo/issues/16576

   ### Pre-check
   
   - [x] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no 
similar feature requirement.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Descriptions
   
   应用商店和其他媒体总计的广告位特别多,大概上百个. 
我们按照广告位部署了很多机器(5-6百个吧)。都是按照dubbo.tag进行标记的。客户端每次请求都是代码写死的`RpcContext.getClientAttachment().setAttachment("dubbo.tag",
 adTagId);` .  且使用的地方特别多。
   这个adTagId本身就是方法上的一个参数。所以想做可以指定方法上的参数自动路由。可以省掉这部分写死的代码。
   如果可以的话,我可以提一个pr来支持这个功能。
   
   App stores and other media outlets have a whopping total of hundreds of ads. 
We're deploying a lot of machines (500-600) per ad space. We're following the 
Dubbo. Are tagged with Dubbo. Tag. Every time the client makes a request, it 
writes 'rpccontext. Getclientattachment () . Setattachment (“Dubbo.tag”, 
adTagId) ; '. And it's used a lot.
   
   The ADTAGID itself is an argument to the method. So you want to be able to 
specify the automatic routing of the arguments on the method. You can omit this 
part of the dead code.
   
   If I can, I can mention a PR to support this feature.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to