You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "superbible (GitHub)" <gi...@apache.org> on 2019/02/14 01:49:38 UTC
[GitHub] [incubator-dubbo] superbible commented on issue #3465: How
to specify a provider by rule that based on IP globally
> Use your LB module . Just put it in your project's META-INT/dubbo/* path AND you can add any logic u want
>
> PS. add this config file to .gitignore file
>
> Does this solve your problem?
Do you mean this: http://dubbo.apache.org/en-us/docs/dev/impls/load-balance.html ?
When I study the inteface LoadBalance, the only method is:
select(List<Invoker<T>> invokers, URL url, Invocation invocation)
So I need to select a inoker from the paramerter invokers, right?
But I can't find any property related to provider's IP in this parameter.
Could you shed some light on it? Thanks.
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3465 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org