You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/03 09:43:41 UTC

[GitHub] [dubbo] ywzou opened a new issue #8672: 注解方式如何定义负载方式

ywzou opened a new issue #8672:
URL: https://github.com/apache/dubbo/issues/8672


   @DubboService(methods = { @Method(name = "bind1thCardNew", loadbalance = "consistenthash") })
   只用注解的方式如何正对某个方法定义参数位置和节点 hash.nodes  hash.arguments
   只能定义在类这一级别吗?


-- 
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-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] 24kpure commented on issue #8672: 注解方式如何定义负载方式

Posted by GitBox <gi...@apache.org>.
24kpure commented on issue #8672:
URL: https://github.com/apache/dubbo/issues/8672#issuecomment-914017735


   `org.apache.dubbo.config.annotation.DubboService#parameters`  works
   ```
   @DubboService(methods = { @method(name = "bind1thCardNew", loadbalance = "consistenthash") },parameters = {"bind1thCardNew.hash.arguments", "0"})
   ```


-- 
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-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] ywzou closed issue #8672: 注解方式如何定义负载方式

Posted by GitBox <gi...@apache.org>.
ywzou closed issue #8672:
URL: https://github.com/apache/dubbo/issues/8672


   


-- 
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-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org