@@ -10,7 +10,7 @@ TCP demos and Http demos are both under the **eventmesh-test** module.
10
10
11
11
** prerequisite** :after download the source code you should copy ` /conf/application.properties ` and ` /conf/log4j2.xml ` to the ` resources ` directory
12
12
13
- ![ image-20210311193048090 ] ( ..\. .\ images\ eventmesh-test-structure.png )
13
+ ![ image-test-structure ] ( ../../ images/ eventmesh-test-structure.png )
14
14
15
15
### 1. TCP DEMO
16
16
@@ -21,34 +21,30 @@ TCP demos and Http demos are both under the **eventmesh-test** module.
21
21
- start consumer ,subscribe topic in previous step.
22
22
23
23
```
24
- Run the main method of com.webank.eventmesh.client. tcp.demo.AsyncSubscribe
24
+ Run the main method of com.webank.eventmesh.tcp.demo.AsyncSubscribe
25
25
```
26
26
27
27
- start producer, send message
28
28
29
29
30
30
```
31
- Run the main method of com.webank.eventmesh.client. tcp.demo.AsyncPublish
31
+ Run the main method of com.webank.eventmesh.tcp.demo.AsyncPublish
32
32
```
33
33
34
34
#### Broadcast msg
35
35
36
36
- create topic FT0-e-80030000-01-3 on rocketmq-console
37
37
38
- ```
39
- sh runadmin.sh updateTopic -c ${ClusterName} -t ${topic} -n ${namesrvAddr}
40
- ```
41
-
42
38
- start consumer ,subscribe topic in previous step.
43
39
44
40
```
45
- Run the main method of com.webank.eventmesh.client. tcp.demo.AsyncSubscribeBroadcast
41
+ Run the main method of com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast
46
42
```
47
43
48
44
* start producer, send broadcast message
49
45
50
46
```
51
- Run the main method of com.webank.eventmesh.client. tcp.demo.AsyncPublishBroadcast
47
+ Run the main method of com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast
52
48
```
53
49
54
50
### 2. HTTP DEMO
@@ -66,12 +62,12 @@ Run the main method of com.webank.eventmesh.client.tcp.demo.AsyncPublishBroadcas
66
62
Async consumer demo is a spring boot application demo, you can easily run this demo to start service and subscribe the topic.
67
63
68
64
```
69
- Run the main method of com.webank.eventmesh.client. http.demo.sub.SpringBootDemoApplication
65
+ Run the main method of com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication
70
66
```
71
67
72
68
- start producer, produce msg
73
69
74
70
```
75
- Run the main method of com.webank.eventmesh.client. http.demo.AsyncPublishInstance
71
+ Run the main method of com.webank.eventmesh.http.demo.AsyncPublishInstance
76
72
```
77
73
0 commit comments