You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/instruction/03-runtime.md
+31-24Lines changed: 31 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# EventMesh Runtime
1
+
# EventMesh Runtime Quick Start
2
2
3
3
The EventMesh Runtime is a stateful mesh node in an EventMesh cluster that is responsible for event transfer between the Source Connector and the Sink Connector, and can use Event Store as a storage queue for events.
4
4
@@ -10,11 +10,12 @@ The EventMesh Runtime is a stateful mesh node in an EventMesh cluster that is re
10
10
11
11
#### 1.1.1 Dependencies
12
12
13
-
```
14
-
64-bit OS,we recommend Linux/Unix;
15
-
64-bit JDK 1.8+;
16
-
Gradle 7.0+, we recommend 7.0.*;
17
-
```
13
+
- 64-bit OS, we recommend Linux/Unix.
14
+
15
+
- 64-bit JDK 1.8 or JDK 11
16
+
17
+
- Gradle 7.0+, The recommended version can be found in the `gradle/wrapper/gradle-wrapper.properties` file.
18
+
18
19
#### 1.1.2 Download source code
19
20
20
21
Download and extract the source code of the latest release from [EventMesh download](https://eventmesh.apache.org/download). For example, with the current latest version, you will get `apache-eventmesh-1.9.0-source.tar.gz`.
@@ -23,16 +24,18 @@ Download and extract the source code of the latest release from [EventMesh downl
23
24
24
25
**1.1.3.1 Description of the project structure:**
25
26
26
-
- eventmesh-common : eventmesh public classes and methods module
- eventmesh-starter : eventmesh local startup and runtime project portal
32
-
- eventmesh-spi : eventmesh SPI loader module
33
-
34
-
> Note: Plugin modules follow the SPI specification defined by eventmesh, custom SPI interfaces need to be marked with the annotation @EventMeshSPI.
35
-
> Plugin instances need to be configured in the corresponding module under /main/resources/META-INF/eventmesh with a mapping file of the relevant interfaces to their implementation classes, with the name of the file being the full class name of the SPI interface.
31
+
- eventmesh-sdk-java : EventMesh Java client SDK
32
+
- eventmesh-starter : EventMesh Runtime local startup and project portal
33
+
- eventmesh-spi : EventMesh SPI loader module
34
+
35
+
> Note: Plugin modules follow the SPI specification defined by eventmesh, custom SPI interfaces need to be marked with the annotation `@EventMeshSPI`.
36
+
>
37
+
> Plugin instances need to be configured in the corresponding module under `/main/resources/META-INF/eventmesh` with a mapping file of the relevant interfaces to their implementation classes, with the name of the file being the full class name of the SPI interface.
38
+
>
36
39
> The content of the file is the mapping from the plugin instance name to the plugin instance, see eventmesh-connector-rocketmq plugin module for details.
37
40
38
41
**1.1.3.2 Plugin Description**
@@ -55,7 +58,7 @@ There are two ways to install the plugin
55
58
56
59
***1.1.3.2.2 Using Plugins ***
57
60
58
-
EventMesh will load plugins in the dist/plugin directory by default, you can change the plugin directory with `-DeventMeshPluginDir=your_plugin_directory`. Examples of plugins to be used at runtime can be found in the
61
+
EventMesh will load plugins in the `dist/plugin` directory by default, you can change the plugin directory with `-DeventMeshPluginDir=your_plugin_directory`. Examples of plugins to be used at runtime can be found in the
59
62
`confPath` directory under `eventmesh.properties`. For example declare the use of the rocketmq plugin at runtime with the following settings.
60
63
61
64
```properties
@@ -84,11 +87,11 @@ Run org.apache.eventmesh.starter.
84
87
85
88
#### 1.1.1 Dependencies
86
89
87
-
```
88
-
64-bit OS,we recommend Linux/Unix;
89
-
64-bit JDK 1.8+;
90
-
Gradle 7.0+, we recommend 7.0.*;
91
-
```
90
+
- 64-bit OS, we recommend Linux/Unix.
91
+
92
+
-64-bit JDK 1.8 or JDK 11
93
+
94
+
- Gradle 7.0+, The current recommended version can be found in the `gradle/wrapper/gradle-wrapper.properties` file.
92
95
93
96
Gradle is the build automation tool used by Apache EventMesh. Please refer to the [offical guide](https://docs.gradle.org/current/userguide/installation.html) to install the latest release of Gradle.
94
97
@@ -136,7 +139,8 @@ dependencies {
136
139
```console
137
140
gradle installPlugin
138
141
```
139
-
### 1.1.4 启动Runtime
142
+
143
+
### 1.1.4 启动 Runtime
140
144
141
145
Execute the `start.sh` script to start the EventMesh Runtime server.
0 commit comments