This is an automated email from the ASF dual-hosted git repository.

hyunkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 2da85ae  fixes article image link in introduction-to-dubbo-spi(#712)
2da85ae is described below

commit 2da85aec2d0d92bab61720edd512779ec05a81a1
Author: Zonglei Dong <dongzong...@apache.org>
AuthorDate: Sat Jan 23 19:43:40 2021 +0800

    fixes article image link in introduction-to-dubbo-spi(#712)
---
 content/en/blog/news/introduction-to-dubbo-spi.md |   2 +-
 content/zh/blog/news/introduction-to-dubbo-spi.md |   2 +-
 static/imgs/blog/dubbo_loadbalance.png            | Bin 0 -> 23567 bytes
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/en/blog/news/introduction-to-dubbo-spi.md 
b/content/en/blog/news/introduction-to-dubbo-spi.md
index a291022..ed8ff73 100644
--- a/content/en/blog/news/introduction-to-dubbo-spi.md
+++ b/content/en/blog/news/introduction-to-dubbo-spi.md
@@ -173,7 +173,7 @@ 
consistenthash=com.alibaba.dubbo.rpc.cluster.loadbalance.ConsistentHashLoadBalan
 There are four extension implementations of LoadBalance defined in the 
configuration file. The implementation of load balancing will not be covered in 
this article. The only thing we need to know is that Dubbo provides four kinds 
of load balancing implementations. We can explicitly specify an implementation 
by using xml file, properties file or JVM parameter. If there has no explicitly 
specified implementation, Dubbo will use random as default.
 
 
-![dubbo-loadbalance | 
left](https://raw.githubusercontent.com/vangoleo/wiki/master/dubbo/dubbo_loadbalance.png
 "")
+![](/imgs/blog/dubbo_loadbalance.png)
 
 * @Adaptive("loadbalance")  Applying @Adaptive annotation on select method 
indicates that select method is an adaptive method. Dubbo will automatically 
generate the corresponding code for the method. When select method is called, 
it will decide which extension to apply based on the method parameters. 
@Adaptive parameter `loadbalance` indicates that the value of loadbalance in 
method is the extension implementation that will be actually called. However, 
we cannot find loadbalance paramete [...]
 
diff --git a/content/zh/blog/news/introduction-to-dubbo-spi.md 
b/content/zh/blog/news/introduction-to-dubbo-spi.md
index 08f2e55..2c0e67d 100644
--- a/content/zh/blog/news/introduction-to-dubbo-spi.md
+++ b/content/zh/blog/news/introduction-to-dubbo-spi.md
@@ -166,7 +166,7 @@ 
consistenthash=com.alibaba.dubbo.rpc.cluster.loadbalance.ConsistentHashLoadBalan
 
可以看到文件中定义了4个LoadBalance的扩展实现。由于负载均衡的实现不是本次的内容,这里就不过多说明。只用知道Dubbo提供了4种负载均衡的实现,我们可以通过xml文件,properties文件,JVM参数显式的指定一个实现。如果没有,默认使用随机。
 
 
-![dubbo-loadbalance | 
left](https://raw.githubusercontent.com/vangoleo/wiki/master/dubbo/dubbo_loadbalance.png
 "")
+![](/imgs/blog/dubbo_loadbalance.png)
 
 * @Adaptive("loadbalance")
     
@Adaptive注解修饰select方法,表明方法select方法是一个可自适应的方法。Dubbo会自动生成该方法对应的代码。当调用select方法时,会根据具体的方法参数来决定调用哪个扩展实现的select方法。@Adaptive注解的参数`loadbalance`表示方法参数中的loadbalance的值作为实际要调用的扩展实例。
diff --git a/static/imgs/blog/dubbo_loadbalance.png 
b/static/imgs/blog/dubbo_loadbalance.png
new file mode 100644
index 0000000..acbe6f5
Binary files /dev/null and b/static/imgs/blog/dubbo_loadbalance.png differ

Reply via email to