Skip to content

Commit

Permalink
Update some links
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Nov 23, 2023
1 parent 1f204f6 commit 2045ed9
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 485 deletions.
2 changes: 1 addition & 1 deletion _data/docs_menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- name: title_cpp-client
link: /clients/cpp-client
- name: title_go-client
link: https://github.com/XiaoMi/pegasus-go-client
link: https://github.com/apache/incubator-pegasus/tree/master/go-client
- name: title_python2-client
link: /clients/python2-client
- name: title_python3-client
Expand Down
2 changes: 1 addition & 1 deletion _docs/zh/administration/rebalance.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Succeed count: 1
Failed count: 0
```

[remote_command](https://github.com/XiaoMi/rdsn/blob/a8c2d46568889902df820ac65e045a1e78aa84d4/include/dsn/tool-api/command_manager.h)是pegasus的一个特性, 允许一个server注册一些命令,然后命令行可以通过rpc调用这些命令。这里我们使用**help**来访问meta server leader,获取meta server端支持的所有命令。例子中已经略掉了所有不相关的行,只留下以"meta.lb"开头的所有和负载均衡相关的命令。
[remote_command](https://github.com/apache/incubator-pegasus/blob/master/src/utils/command_manager.h)是pegasus的一个特性, 允许一个server注册一些命令,然后命令行可以通过rpc调用这些命令。这里我们使用**help**来访问meta server leader,获取meta server端支持的所有命令。例子中已经略掉了所有不相关的行,只留下以"meta.lb"开头的所有和负载均衡相关的命令。

由于文档和代码的不一致问题,文档里不一定覆盖了当前meta所有的lb控制命令。如果想获取最新的命令列表,请用最新的代码手动执行一下help。

Expand Down
11 changes: 5 additions & 6 deletions _docs/zh/clients/clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ permalink: clients/index.html
Pegasus目前提供以下多种客户端支持:

| 编程语言 | 项目链接 |
| Java | <https://github.com/XiaoMi/pegasus-java-client> |
| Scala | <https://github.com/XiaoMi/pegasus-scala-client> |
| Go | <https://github.com/XiaoMi/pegasus-go-client> |
| Python2 | <https://github.com/XiaoMi/pegasus-python-client> |
| Python3 | <https://github.com/XiaoMi/pegasus-python-client/tree/python3> |
| NodeJs | <https://github.com/XiaoMi/pegasus-nodejs-client.git> |
| Java | <https://github.com/apache/incubator-pegasus/tree/master/java-client> |
| Scala | <https://github.com/apache/incubator-pegasus/tree/master/scala-client> |
| Go | <https://github.com/apache/incubator-pegasus/tree/master/go-client> |
| Python3 | <https://github.com/apache/incubator-pegasus/tree/master/python-client> |
| NodeJs | <https://github.com/apache/incubator-pegasus/tree/master/nodejs-client> |
4 changes: 2 additions & 2 deletions _docs/zh/clients/java-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ permalink: clients/java-client

# 获取Java客户端

项目地址:[Pegasus Java Client](https://github.com/XiaoMi/pegasus-java-client)
项目地址:[Pegasus Java Client](https://github.com/apache/incubator-pegasus/tree/master/java-client)

下载:

```bash
git clone https://github.com/XiaoMi/pegasus-java-client.git
git clone https://github.com/apache/incubator-pegasus.git
cd pegasus-java-client
```

Expand Down
2 changes: 1 addition & 1 deletion _docs/zh/clients/node-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permalink: clients/node-client
---

# 安装NodeJs客户端
项目地址:[Pegasus NodeJS Client](https://github.com/XiaoMi/pegasus-nodejs-client)
项目地址:[Pegasus NodeJS Client](https://github.com/apache/incubator-pegasus/tree/master/nodejs-client)
下载并将客户端依赖添加到package.json中:
`npm install pegasus-nodejs-client --save`
# 创建/关闭客户端
Expand Down
Loading

0 comments on commit 2045ed9

Please sign in to comment.