Skip to content

Commit

Permalink
Update index.md (#1274)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenjunMa authored May 11, 2024
1 parent 2d7d1f2 commit 35926e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/zh/projects/sofa-registry/client-quick-start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ registryClient.register(registration, "10.10.1.1:12200?xx=yy");
使用 SOFARegistry 发布数据一共包含三个步骤:

1. 构建客户端实例;
1. 构造发布者注册表;
1. 将注册表注册进客户端并发布数据。
2. 构造发布者注册表;
3. 将注册表注册进客户端并发布数据。


### 2.1 构建客户端实例
Expand Down Expand Up @@ -76,7 +76,7 @@ registration.setScopeEnum(ScopeEnum.global);
registryClient.register(registration);
```

使用 SOFARegistry 发布数据一共包含三个步骤
使用 SOFARegistry 订阅数据一共包含四个步骤

1. 构建客户端实例;
2. 创建 SubscriberDataObserver;
Expand Down

0 comments on commit 35926e2

Please sign in to comment.