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


   如果是这样建议去掉timeout 
等非三元组属性注解,不然我一个Service接口不可能只在一个地方有引用,一旦引用的地方多了,后期维护将发生灾难,我要调整其中的一个引用还得把其他引用都找出来改一遍。
   建议添加这样的注解:优雅又通用,全部再定义一遍然后用@Autowired,显得啰嗦,又不好与本地service引用区分。
   ```
   public interface FooService {
       @RpcConfig(timeout = 50000)
        void methodA();
   
        void methodB();
   }
   ```


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