kylixs commented on issue #8221:
URL: https://github.com/apache/dubbo/issues/8221#issuecomment-877074984


   > 建议添加这样的注解:优雅又通用,全部再定义一遍然后用@Autowired,显得啰嗦,又不好与本地service引用区分。
   > 
   > ```
   > public interface FooService {
   >     @RpcConfig(timeout = 50000)
   >      void methodA();
   > 
   >      void methodB();
   > }
   > ```
   
   在接口上定义reference参数一来会对接口造成污染,二来缺乏灵活性,也不能满足多reference实例的需求。
   实践表明,在不同的场景下可能需要动态调整reference参数,通过外部配置来修改reference参数更加灵活实用。
   


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