Skip to content

Commit e4452fe

Browse files
authored
[ISSUE #405]modify the doc (#424)
* modify the doc * modify the doc
1 parent fd78f48 commit e4452fe

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

Diff for: docs/cn/instructions/eventmesh-runtime-quickstart.zh-CN.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ sh start.sh
4444

4545
### 2.1 依赖
4646

47-
同上述步骤 1.1
47+
同上述步骤 1.1,但是只能在JDK 1.8下构建
4848

4949
### 2.2 下载源码
5050

@@ -66,17 +66,7 @@ sh start.sh
6666

6767
> 注:插件模块遵循eventmesh定义的spi机制,需要在对应模块中的/main/resources/META-INF/eventmesh 下配置相关接口与实现类的映射文件
6868
69-
**2.3.2 配置VM启动参数**
70-
71-
```java
72-
-Dlog4j.configurationFile=eventmesh-runtime/conf/log4j2.xml
73-
-Deventmesh.log.home=eventmesh-runtime/logs
74-
-Deventmesh.home=eventmesh-runtime
75-
-DconfPath=eventmesh-runtime/conf
76-
```
77-
> 注:如果操作系统为Windows, 可能需要将文件分隔符换成\
78-
79-
**2.3.3 配置插件**
69+
**2.3.2 配置插件**
8070

8171
`eventMesh.properties`配置文件通过声明式的方式来指定项目启动后需要加载的插件
8272

@@ -89,6 +79,16 @@ sh start.sh
8979
eventMesh.connector.plugin.type=rocketmq
9080
```
9181

82+
**2.3.3 配置VM启动参数**
83+
84+
```java
85+
-Dlog4j.configurationFile=eventmesh-runtime/conf/log4j2.xml
86+
-Deventmesh.log.home=eventmesh-runtime/logs
87+
-Deventmesh.home=eventmesh-runtime
88+
-DconfPath=eventmesh-runtime/conf
89+
```
90+
> 注:如果操作系统为Windows, 可能需要将文件分隔符换成\
91+
9292
**2.3.4 启动运行**
9393

9494
```

Diff for: docs/en/instructions/eventmesh-runtime-quickstart.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you see "EventMeshTCPServer[port=10000] started....", you setup runtime succe
4444

4545
### 2.1 dependencies
4646

47-
Same with 1.1
47+
Same with 1.1, but it can be only compiled in JDK 1.8
4848

4949
### 2.2 download sources
5050

@@ -67,17 +67,9 @@ Same with 1.2
6767
> ps: The loading of connector plugin follows the eventmesh SPI mechanism, it's necessary to configure the mapping file of
6868
related interface and implementation class under /main/resources/meta-inf/eventmesh in the corresponding module
6969

70-
**2.3.2 Configure VM Options**
70+
**2.3.2 Configure plugin**
7171

72-
```java
73-
-Dlog4j.configurationFile=eventmesh-runtime/conf/log4j2.xml
7472
-Deventmesh.log.home=eventmesh-runtime/logs
75-
-Deventmesh.home=eventmesh-runtime
76-
-DconfPath=eventmesh-runtime/conf
77-
```
78-
> ps: If you use Windows, you may need to replace the file separator to \
79-
80-
**2.3.3 Configure plugin**
8173

8274
Specify the connector plugin that will be loaded after the project start by declaring in `eventMesh.properties`
8375

@@ -90,6 +82,16 @@ load **rocketmq connector** configuration:
9082
eventMesh.connector.plugin.type=rocketmq
9183
```
9284

85+
**2.3.3 Configure VM Options**
86+
87+
```java
88+
-Dlog4j.configurationFile=eventmesh-runtime/conf/log4j2.xml
89+
-Deventmesh.log.home=eventmesh-runtime/logs
90+
-Deventmesh.home=eventmesh-runtime
91+
-DconfPath=eventmesh-runtime/conf
92+
```
93+
> ps: If you use Windows, you may need to replace the file separator to \
94+
9395
**2.3.4 Run**
9496

9597
running `org.apache.eventmesh.starter.StartUp` main method

0 commit comments

Comments
 (0)