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

caigy 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 72bd03c47c fix document typo (#7721)
72bd03c47c is described below

commit 72bd03c47c8bf1074565b3b044a4e5dc717948bf
Author: Jay Ko <[email protected]>
AuthorDate: Wed Mar 13 12:52:42 2024 +0800

    fix document typo (#7721)
---
 docs/cn/Debug_In_Idea.md | 8 ++++----
 docs/en/Debug_In_Idea.md | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/cn/Debug_In_Idea.md b/docs/cn/Debug_In_Idea.md
index fd01751ee9..92cb8010ef 100644
--- a/docs/cn/Debug_In_Idea.md
+++ b/docs/cn/Debug_In_Idea.md
@@ -6,7 +6,7 @@
 
 ### Step1: 启动NameServer
 1. NamerServer的启动类在`org.apache.rocketmq.namesrv.NamesrvStartup`
-2. `Idea-Edit Configurations`中添加运行参数 `ROCKETMQ_HOME=<rocketmq仓库目录>`
+2. `Idea-Edit Configurations`中添加环境变量 `ROCKETMQ_HOME=<rocketmq仓库目录>`
 ![Idea_config_nameserver.png](image/Idea_config_nameserver.png)
 3. 运行NameServer,观察到如下日志输出则启动成功
 ```shell
@@ -26,9 +26,9 @@ deleteWhen = 04
 fileReservedTime = 48
 brokerRole = ASYNC_MASTER
 flushDiskType = ASYNC_FLUSH
-namesrvAddr = 127.0.0.1:9876 # name server地址
+namesrvAddr = 127.0.0.1:9876
 ```
-3. `Idea-Edit Configurations`中添加运行参数 `ROCKETMQ_HOME=<rocketmq仓库目录>` 以及环境变量`-c 
/Users/xxx/rocketmq/conf/broker.conf`
+3. `Idea-Edit Configurations`中添加运行参数 `-c /Users/xxx/rocketmq/conf/broker.conf` 
以及环境变量 `ROCKETMQ_HOME=<rocketmq仓库目录>`
 ![Idea_config_broker.png](image/Idea_config_broker.png)
 4. 运行Broker,观察到如下日志则启动成功
 ```shell
@@ -40,7 +40,7 @@ The broker[broker-a,192.169.1.2:10911] boot success...
 
 ### 补充:本地启动Proxy
 1. 
RocketMQ5.x支持了Proxy模式,使用`LOCAL`模式可以免去`Step2`,启动类在`org.apache.rocketmq.proxy.ProxyStartup`
-2. `Idea-Edit Configurations`中添加运行参数 `ROCKETMQ_HOME=<rocketmq仓库目录>`
+2. `Idea-Edit Configurations`中添加环境变量 `ROCKETMQ_HOME=<rocketmq仓库目录>`
 3. 在`/conf/`下新建配置文件`rmq-proxy.json`
 ```json
 {
diff --git a/docs/en/Debug_In_Idea.md b/docs/en/Debug_In_Idea.md
index 9967980671..0dee9039c4 100644
--- a/docs/en/Debug_In_Idea.md
+++ b/docs/en/Debug_In_Idea.md
@@ -6,7 +6,7 @@
 
 ### Step1: Start NameServer
 1. The startup class for NameServer is located in 
`org.apache.rocketmq.namesrv.NamesrvStartup`.
-2. Add runtime `ROCKETMQ_HOME=<rocketmq repository directory>` parameters in 
`Idea-Edit Configurations`.
+2. Add environment variable `ROCKETMQ_HOME=<rocketmq repository directory>` in 
`Idea-Edit Configurations`.
 ![Idea_config_nameserver.png](../cn/image/Idea_config_nameserver.png)
 3. Run NameServer and if the following log output is observed, it indicates 
successful startup.
 ```shell
@@ -26,9 +26,9 @@ deleteWhen = 04
 fileReservedTime = 48
 brokerRole = ASYNC_MASTER
 flushDiskType = ASYNC_FLUSH
-namesrvAddr = 127.0.0.1:9876 # name server地址
+namesrvAddr = 127.0.0.1:9876
 ```
-3. Add the runtime parameter `ROCKETMQ_HOME=<rocketmq repository directory>` 
and the environment variable `-c /Users/xxx/rocketmq/conf/broker.conf` in 
`Idea-Edit Configurations`.
+3. Add the runtime parameter `-c /Users/xxx/rocketmq/conf/broker.conf` and the 
environment variable `ROCKETMQ_HOME=<rocketmq repository directory>` in 
`Idea-Edit Configurations`.
 ![Idea_config_broker.png](../cn/image/Idea_config_broker.png)
 4. Run the Broker and if the following log is observed, it indicates 
successful startup.
 ```shell
@@ -40,7 +40,7 @@ RocketMQ startup is now complete. You can use the examples 
provided in `/example
 
 ### Additional: Start the Proxy locally.
 1. RocketMQ 5.x introduced the Proxy mode. Using the `LOCAL` mode eliminates 
the need for `Step2`. The startup class is located at 
`org.apache.rocketmq.proxy.ProxyStartup`.
-2. Add the runtime parameter `ROCKETMQ_HOME=<rocketmq repository directory>` 
in `Idea-Edit Configurations`.
+2. Add the environment variable `ROCKETMQ_HOME=<rocketmq repository 
directory>` in `Idea-Edit Configurations`.
 3. Create a new configuration file named `rmq-proxy.json` in the `/conf/` 
directory.
 ```json
 {

Reply via email to