This is an automated email from the ASF dual-hosted git repository.
tigerlee pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new c98d5a8 optimize namesrv default address docs
new ac0cebc Merge pull request #3214 from slievrly/develop_doc_0804
c98d5a8 is described below
commit c98d5a80462085dcd0f9e362a93bd811d0fefd95
Author: slievrly <[email protected]>
AuthorDate: Wed Aug 4 14:27:53 2021 +0800
optimize namesrv default address docs
---
docs/cn/best_practice.md | 2 +-
docs/en/Configuration_Client.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/cn/best_practice.md b/docs/cn/best_practice.md
index b24c6ec..130fb3b 100755
--- a/docs/cn/best_practice.md
+++ b/docs/cn/best_practice.md
@@ -237,7 +237,7 @@ export NAMESRV_ADDR=192.168.0.1:9876;192.168.0.2:9876
```
客户端默认每隔2分钟访问一次这个HTTP服务器,并更新本地的Name
Server地址。URL已经在代码中硬编码,可通过修改/etc/hosts文件来改变要访问的服务器,例如在/etc/hosts增加如下配置:
```text
-10.232.22.67 jmenv.taobao.net
+10.232.22.67 jmenv.tbsite.net
```
推荐使用HTTP静态服务器寻址方式,好处是客户端部署简单,且Name Server集群可以热升级。
diff --git a/docs/en/Configuration_Client.md b/docs/en/Configuration_Client.md
index dedb424..5f25fa0 100644
--- a/docs/en/Configuration_Client.md
+++ b/docs/en/Configuration_Client.md
@@ -32,7 +32,7 @@ After client started, it will access the http static server
address, as: <http:/
```
By default, the client accesses the HTTP server every 2 minutes, and update
the local Name Server address.The URL is hardcoded in the code, you can change
the target server by updating ```/etc/hosts``` file, such as add following
configuration at the ```/etc/hosts```:
```text
-10.232.22.67 jmenv.taobao.net
+10.232.22.67 jmenv.tbsite.net
```
HTTP static server addressing is recommended, because it is simple client
deployment, and the Name Server cluster can be upgraded hot.