You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/07/09 02:36:57 UTC

[dubbo-website] branch master updated: 修正图片路径 (#855)

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

albumenj 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 c7cc7c5  修正图片路径 (#855)
c7cc7c5 is described below

commit c7cc7c57a6b6b6c2419f9a28c62901e26f207db0
Author: 刁兄 <62...@qq.com>
AuthorDate: Fri Jul 9 10:36:49 2021 +0800

    修正图片路径 (#855)
    
    Co-authored-by: jimmy.li <ji...@huolala.cn>
---
 content/zh/docs/v2.7/dev/source/export-service.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/zh/docs/v2.7/dev/source/export-service.md b/content/zh/docs/v2.7/dev/source/export-service.md
index 9a39cfc..7acc7ec 100644
--- a/content/zh/docs/v2.7/dev/source/export-service.md
+++ b/content/zh/docs/v2.7/dev/source/export-service.md
@@ -1417,7 +1417,7 @@ CuratorZookeeperClient 构造方法主要用于创建和启动 CuratorFramework
 
 以 Zookeeper 为例,所谓的服务注册,本质上是将服务配置数据写入到 Zookeeper 的某个路径的节点下。为了让大家有一个直观的了解,下面我们将 Dubbo 的 demo 跑起来,然后通过 Zookeeper 可视化客户端 [ZooInspector](https://github.com/apache/zookeeper/tree/b79af153d0f98a4f3f3516910ed47234d7b3d74e/src/contrib/zooinspector) 查看节点数据。如下:
 
-![](static/imgs/dev/service-registry.png)
+![](/imgs/dev/service-registry.png)
 
 从上图中可以看到 com.alibaba.dubbo.demo.DemoService 这个服务对应的配置信息(存储在 URL 中)最终被注册到了 /dubbo/com.alibaba.dubbo.demo.DemoService/providers/ 节点下。搞懂了服务注册的本质,那么接下来我们就可以去阅读服务注册的代码了。服务注册的接口为 register(URL),这个方法定义在 FailbackRegistry 抽象类中。代码如下: