Skip to content

Commit 4060887

Browse files
authored
Merge pull request #248 from xwm1992/1.2.0
update quickstart.md files
2 parents ca5a3a2 + e37d458 commit 4060887

25 files changed

+70
-91
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ sh start.sh
5656

5757
**2.3.1 项目结构说明:**
5858

59-
![](../../images/project-structure.png)
59+
![project-structure](../../images/project-structure.png)
6060
- eventmesh-common : eventmesh公共类与方法模块
6161
- eventmesh-connector-api : eventmesh插件接口定义模块
6262
- eventmesh-connector-rocketmq : eventmesh rocketmq插件模块
@@ -103,7 +103,7 @@ dependencies {
103103

104104
执行 `docker pull eventmesh/eventmesh-rocketmq:v1.2.0` , 你将会获取到EventMesh的镜像,如下图所示:
105105

106-
![image-20210309155255510](..\..\images\docker\docker-image.png)
106+
![image-20210309155255510](../../images/docker/docker-image.png)
107107

108108
### 3.2 配置
109109

@@ -157,15 +157,15 @@ docker run -d -p 10000:10000 -p 10105:10105 -v /data/eventmesh/rocketmq/conf/pro
157157

158158
执行 `docker ps` 来检查容器的运行状况
159159

160-
![image-20210309155917269](..\..\images\docker\docker-ps.png)
160+
![image-docker-ps](../../images/docker/docker-ps.png)
161161

162162
执行 `docker logs [container id]` 可以得到如下结果
163163

164-
![image-20210309195623836](..\..\images\docker\docker-logs.png)
164+
![image-docker-logs](../../images/docker/docker-logs.png)
165165

166166
执行 `docker exec -it [container id] /bin/bash` 可以进入到容器中并查看详细信息
167167

168-
![image-20210309200327627](..\..\images\docker\docker-exec.png)
168+
![image-docker-exec](../../images/docker/docker-exec.png)
169169

170170
### 3.4 测试
171171

docs/cn/instructions/eventmesh-sdk-java-quickstart.zh-CN.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ TCP 和 Http 示例都在**eventmesh-test**模块下
1010

1111
**注意:**下载了源代码后,需要将`/conf/application.properties``/conf/log4j2.xml` 复制到 `resources` 目录下
1212

13-
![image-20210311193048090](..\..\images\eventmesh-test-structure.png)
13+
![image-test-structure](../../images/eventmesh-test-structure.png)
1414

1515
### 1. TCP DEMO
1616

@@ -21,14 +21,14 @@ TCP 和 Http 示例都在**eventmesh-test**模块下
2121
- 启动消费者,订阅上一步骤已经创建的Topic
2222

2323
```
24-
运行com.webank.eventmesh.client.tcp.demo.AsyncSubscribe的主要方法
24+
运行com.webank.eventmesh.tcp.demo.AsyncSubscribe的主要方法
2525
```
2626

2727
- 启动发送端,发送消息
2828

2929

3030
```
31-
运行com.webank.eventmesh.client.tcp.demo.AsyncPublish的主要方法
31+
运行com.webank.eventmesh.tcp.demo.AsyncPublish的主要方法
3232
```
3333

3434
<h4>广播消息</h4>
@@ -38,13 +38,13 @@ TCP 和 Http 示例都在**eventmesh-test**模块下
3838
- 启动消费端,订阅上一步骤已经创建的Topic
3939

4040
```
41-
运行com.webank.eventmesh.client.tcp.demo.AsyncSubscribeBroadcast的主要方法
41+
运行com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast的主要方法
4242
```
4343

4444
- 启动发送端,发送广播消息
4545

4646
```
47-
运行com.webank.eventmesh.client.tcp.demo.AsyncPublishBroadcast的主要方法
47+
运行com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast的主要方法
4848
```
4949

5050
### 2. HTTP演示
@@ -62,13 +62,13 @@ TCP 和 Http 示例都在**eventmesh-test**模块下
6262
异步事件消费端为spring boot demo,运行demo即可启动服务并完成Topic订阅
6363

6464
```
65-
运行com.webank.eventmesh.client.http.demo.sub.SpringBootDemoApplication的主要方法
65+
运行com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication的主要方法
6666
```
6767

6868
- 启动发送端,发送消息
6969

7070
```
71-
运行com.webank.eventmesh.client.http.demo.AsyncPublishInstance的主要方法
71+
运行com.webank.eventmesh.http.demo.AsyncPublishInstance的主要方法
7272
```
7373

7474

docs/en/instructions/eventmesh-runtime-quickstart.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Same with 1.2
5656

5757
**2.3.1 Project structure:**
5858

59-
![](..\..\images\project-structure.png)
59+
![project-structure.png](../../images/project-structure.png)
6060

6161
- eventmesh-common : eventmesh common classes and method module
6262
- eventmesh-connector-api : eventmesh connector api definition module
@@ -156,15 +156,15 @@ docker run -d -p 10000:10000 -p 10105:10105 -v /data/eventmesh/rocketmq/conf/pro
156156

157157
execute `docker ps` to check the container health
158158

159-
![image-20210309155917269](..\..\images\docker\docker-ps.png)
159+
![image-docker-ps](../../images/docker/docker-ps.png)
160160

161161
execute `docker logs [container id]` you will get following result:
162162

163-
![image-20210309195623836](..\..\images\docker\docker-logs.png)
163+
![image-docker-logs](../../images/docker/docker-logs.png)
164164

165165
execute `docker exec -it [container id] /bin/bash` you will go into the container and see the details:
166166

167-
![image-20210309200327627](..\..\images\docker\docker-exec.png)
167+
![image-docker-exec](../../images/docker/docker-exec.png)
168168

169169
### 3.4 Test
170170

docs/en/instructions/eventmesh-sdk-java-quickstart.md

+7-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ TCP demos and Http demos are both under the **eventmesh-test** module.
1010

1111
**prerequisite**:after download the source code you should copy `/conf/application.properties` and `/conf/log4j2.xml` to the `resources` directory
1212

13-
![image-20210311193048090](..\..\images\eventmesh-test-structure.png)
13+
![image-test-structure](../../images/eventmesh-test-structure.png)
1414

1515
### 1. TCP DEMO
1616

@@ -21,34 +21,30 @@ TCP demos and Http demos are both under the **eventmesh-test** module.
2121
- start consumer ,subscribe topic in previous step.
2222

2323
```
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
2525
```
2626

2727
- start producer, send message
2828

2929

3030
```
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
3232
```
3333

3434
#### Broadcast msg
3535

3636
- create topic FT0-e-80030000-01-3 on rocketmq-console
3737

38-
```
39-
sh runadmin.sh updateTopic -c ${ClusterName} -t ${topic} -n ${namesrvAddr}
40-
```
41-
4238
- start consumer ,subscribe topic in previous step.
4339

4440
```
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
4642
```
4743

4844
* start producer, send broadcast message
4945

5046
```
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
5248
```
5349

5450
### 2. HTTP DEMO
@@ -66,12 +62,12 @@ Run the main method of com.webank.eventmesh.client.tcp.demo.AsyncPublishBroadcas
6662
Async consumer demo is a spring boot application demo, you can easily run this demo to start service and subscribe the topic.
6763

6864
```
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
7066
```
7167

7268
- start producer, produce msg
7369

7470
```
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
7672
```
7773

eventmesh-test/bin/http_pub.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ function get_pid {
4343
else
4444
if [[ $OS =~ Msys ]]; then
4545
# 在Msys上存在可能无法kill识别出的进程的BUG
46-
ppid=`jps -v | grep -i "com.webank.eventmesh.client.http.demo.AsyncPublishInstance" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
46+
ppid=`jps -v | grep -i "com.webank.eventmesh.http.demo.AsyncPublishInstance" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
4747
elif [[ $OS =~ Darwin ]]; then
4848
# 已知问题:grep java 可能无法精确识别java进程
49-
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.client.http.demo.AsyncPublishInstance" | grep -Ev "^root" |awk -F ' ' {'print $2'})
49+
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.http.demo.AsyncPublishInstance" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5050
else
5151
#在Linux服务器上要求尽可能精确识别进程
52-
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.client.http.demo.AsyncPublishInstance" | grep -Ev "^root" |awk -F ' ' {'print $2'})
52+
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.http.demo.AsyncPublishInstance" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5353
fi
5454
fi
5555
echo "$ppid";
@@ -124,7 +124,7 @@ make_logs_dir
124124
echo "using jdk[$JAVA]" >> ${DEMO_LOG_HOME}/demo_http_pub.out
125125

126126

127-
DEMO_MAIN=com.webank.eventmesh.client.http.demo.AsyncPublishInstance
127+
DEMO_MAIN=com.webank.eventmesh.http.demo.AsyncPublishInstance
128128
if [ $DOCKER ]
129129
then
130130
$JAVA $JAVA_OPT -classpath ${DEMO_HOME}/conf:${DEMO_HOME}/apps/*:${DEMO_HOME}/lib/* $DEMO_MAIN >> ${DEMO_LOG_HOME}/demo_http_pub.out

eventmesh-test/bin/http_sub.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ function get_pid {
4343
else
4444
if [[ $OS =~ Msys ]]; then
4545
# 在Msys上存在可能无法kill识别出的进程的BUG
46-
ppid=`jps -v | grep -i "com.webank.eventmesh.client.http.demo.sub.SpringBootDemoApplication" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
46+
ppid=`jps -v | grep -i "com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
4747
elif [[ $OS =~ Darwin ]]; then
4848
# 已知问题:grep java 可能无法精确识别java进程
49-
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.client.http.demo.sub.SpringBootDemoApplication" | grep -Ev "^root" |awk -F ' ' {'print $2'})
49+
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5050
else
5151
#在Linux服务器上要求尽可能精确识别进程
52-
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.client.http.demo.sub.SpringBootDemoApplication" | grep -Ev "^root" |awk -F ' ' {'print $2'})
52+
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5353
fi
5454
fi
5555
echo "$ppid";
@@ -124,7 +124,7 @@ make_logs_dir
124124
echo "using jdk[$JAVA]" >> ${DEMO_LOG_HOME}/demo_http_sub.out
125125

126126

127-
DEMO_MAIN=com.webank.eventmesh.client.http.demo.sub.SpringBootDemoApplication
127+
DEMO_MAIN=com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication
128128
if [ $DOCKER ]
129129
then
130130
$JAVA $JAVA_OPT -classpath ${DEMO_HOME}/conf:${DEMO_HOME}/apps/*:${DEMO_HOME}/lib/* $DEMO_MAIN >> ${DEMO_LOG_HOME}/demo_http_sub.out

eventmesh-test/bin/tcp_pub.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ function get_pid {
4343
else
4444
if [[ $OS =~ Msys ]]; then
4545
# 在Msys上存在可能无法kill识别出的进程的BUG
46-
ppid=`jps -v | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncPublish" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
46+
ppid=`jps -v | grep -i "com.webank.eventmesh.tcp.demo.AsyncPublish" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
4747
elif [[ $OS =~ Darwin ]]; then
4848
# 已知问题:grep java 可能无法精确识别java进程
49-
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncPublish" | grep -Ev "^root" |awk -F ' ' {'print $2'})
49+
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.tcp.demo.AsyncPublish" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5050
else
5151
#在Linux服务器上要求尽可能精确识别进程
52-
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncPublish" | grep -Ev "^root" |awk -F ' ' {'print $2'})
52+
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.tcp.demo.AsyncPublish" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5353
fi
5454
fi
5555
echo "ppid";
@@ -124,7 +124,7 @@ make_logs_dir
124124
echo "using jdk[$JAVA]" >> ${DEMO_LOG_HOME}/demo_tcp_pub.out
125125

126126

127-
DEMO_MAIN=com.webank.eventmesh.client.tcp.demo.AsyncPublish
127+
DEMO_MAIN=com.webank.eventmesh.tcp.demo.AsyncPublish
128128
if [ $DOCKER ]
129129
then
130130
$JAVA $JAVA_OPT -classpath ${DEMO_HOME}/conf:${DEMO_HOME}/apps/*:${DEMO_HOME}/lib/* $DEMO_MAIN >> ${DEMO_LOG_HOME}/demo_tcp_pub.out

eventmesh-test/bin/tcp_pub_broadcast.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ function get_pid {
4343
else
4444
if [[ $OS =~ Msys ]]; then
4545
# 在Msys上存在可能无法kill识别出的进程的BUG
46-
ppid=`jps -v | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncPublishBroadcast" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
46+
ppid=`jps -v | grep -i "com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
4747
elif [[ $OS =~ Darwin ]]; then
4848
# 已知问题:grep java 可能无法精确识别java进程
49-
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncPublishBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
49+
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5050
else
5151
#在Linux服务器上要求尽可能精确识别进程
52-
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $DEMO_HOME | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncPublishBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
52+
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $DEMO_HOME | grep -i "com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5353
fi
5454
fi
5555
echo "$ppid";
@@ -124,7 +124,7 @@ make_logs_dir
124124
echo "using jdk[$JAVA]" >> ${DEMO_LOG_HOME}/demo_tcp_pub_broadcast.out
125125

126126

127-
DEMO_MAIN=com.webank.eventmesh.client.tcp.demo.AsyncPublishBroadcast
127+
DEMO_MAIN=com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast
128128
if [ $DOCKER ]
129129
then
130130
$JAVA $JAVA_OPT -classpath ${DEMO_HOME}/conf:${DEMO_HOME}/apps/*:${DEMO_HOME}/lib/* $DEMO_MAIN >> ${DEMO_LOG_HOME}/demo_tcp_pub_broadcast.out

eventmesh-test/bin/tcp_sub.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ function get_pid {
4343
else
4444
if [[ $OS =~ Msys ]]; then
4545
# 在Msys上存在可能无法kill识别出的进程的BUG
46-
ppid=`jps -v | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncSubscribe" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
46+
ppid=`jps -v | grep -i "com.webank.eventmesh.tcp.demo.AsyncSubscribe" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
4747
elif [[ $OS =~ Darwin ]]; then
4848
# 已知问题:grep java 可能无法精确识别java进程
49-
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncSubscribe" | grep -Ev "^root" |awk -F ' ' {'print $2'})
49+
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.tcp.demo.AsyncSubscribe" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5050
else
5151
#在Linux服务器上要求尽可能精确识别进程
52-
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $DEMO_HOME | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncSubscribe" | grep -Ev "^root" |awk -F ' ' {'print $2'})
52+
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $DEMO_HOME | grep -i "com.webank.eventmesh.tcp.demo.AsyncSubscribe" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5353
fi
5454
fi
5555
echo "$ppid";
@@ -124,7 +124,7 @@ make_logs_dir
124124
echo "using jdk[$JAVA]" >> ${DEMO_LOG_HOME}/demo_tcp_sub.out
125125

126126

127-
DEMO_MAIN=com.webank.eventmesh.client.tcp.demo.AsyncSubscribe
127+
DEMO_MAIN=com.webank.eventmesh.tcp.demo.AsyncSubscribe
128128
if [ $DOCKER ]
129129
then
130130
$JAVA $JAVA_OPT -classpath ${DEMO_HOME}/conf:${DEMO_HOME}/apps/*:${DEMO_HOME}/lib/* $DEMO_MAIN >> ${DEMO_LOG_HOME}/demo_tcp_sub.out

eventmesh-test/bin/tcp_sub_broadcast.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ function get_pid {
4343
else
4444
if [[ $OS =~ Msys ]]; then
4545
# 在Msys上存在可能无法kill识别出的进程的BUG
46-
ppid=`jps -v | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncSubscribeBroadcast" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
46+
ppid=`jps -v | grep -i "com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast" | grep java | grep -v grep | awk -F ' ' {'print $1'}`
4747
elif [[ $OS =~ Darwin ]]; then
4848
# 已知问题:grep java 可能无法精确识别java进程
49-
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncSubscribeBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
49+
ppid=$(/bin/ps -o user,pid,command | grep "java" | grep -i "com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5050
else
5151
#在Linux服务器上要求尽可能精确识别进程
52-
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.client.tcp.demo.AsyncSubscribeBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
52+
ppid=$(ps -C java -o user,pid,command --cols 99999 | grep -w $PROXY_HOME | grep -i "com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast" | grep -Ev "^root" |awk -F ' ' {'print $2'})
5353
fi
5454
fi
5555
echo "$ppid";
@@ -124,7 +124,7 @@ make_logs_dir
124124
echo "using jdk[$JAVA]" >> ${DEMO_LOG_HOME}/demo_tcp_sub_broadcast.out
125125

126126

127-
DEMO_MAIN=com.webank.eventmesh.client.tcp.demo.AsyncSubscribeBroadcast
127+
DEMO_MAIN=com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast
128128
if [ $DOCKER ]
129129
then
130130
$JAVA $JAVA_OPT -classpath ${DEMO_HOME}/conf:${DEMO_HOME}/apps/*:${DEMO_HOME}/lib/* $DEMO_MAIN >> ${DEMO_LOG_HOME}/demo_tcp_sub_broadcast.out

eventmesh-test/conf/log4j2.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<AppenderRef ref="console"/>
2929
</AsyncRoot>
3030

31-
<AsyncLogger name="com.webank.eventmesh.client" level="debug" additivity="false" includeLocation="true">
31+
<AsyncLogger name="com.webank.eventmesh" level="debug" additivity="false" includeLocation="true">
3232
<AppenderRef ref="console"/>
3333
</AsyncLogger>
3434
</Loggers>

eventmesh-test/src/main/java/com/webank/eventmesh/client/http/demo/AsyncPublishInstance.java eventmesh-test/src/main/java/com/webank/eventmesh/http/demo/AsyncPublishInstance.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.webank.eventmesh.client.http.demo;
1+
package com.webank.eventmesh.http.demo;
22
import com.webank.eventmesh.client.http.conf.LiteClientConfig;
33
import com.webank.eventmesh.client.http.producer.LiteProducer;
44
import com.webank.eventmesh.common.Constants;

eventmesh-test/src/main/java/com/webank/eventmesh/client/http/demo/AsyncSyncRequestInstance.java eventmesh-test/src/main/java/com/webank/eventmesh/http/demo/AsyncSyncRequestInstance.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.webank.eventmesh.client.http.demo;
1+
package com.webank.eventmesh.http.demo;
22
import com.webank.eventmesh.client.http.conf.LiteClientConfig;
33
import com.webank.eventmesh.client.http.producer.LiteProducer;
44
import com.webank.eventmesh.client.http.producer.RRCallback;

eventmesh-test/src/main/java/com/webank/eventmesh/client/http/demo/SyncRequestInstance.java eventmesh-test/src/main/java/com/webank/eventmesh/http/demo/SyncRequestInstance.java

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
1-
package com.webank.eventmesh.client.http.demo;
1+
package com.webank.eventmesh.http.demo;
22
import com.webank.eventmesh.client.http.conf.LiteClientConfig;
33
import com.webank.eventmesh.client.http.producer.LiteProducer;
44
import com.webank.eventmesh.common.IPUtil;
55
import com.webank.eventmesh.common.LiteMessage;
6-
import com.webank.eventmesh.common.ThreadPoolFactory;
76
import com.webank.eventmesh.common.ThreadUtil;
8-
import com.webank.eventmesh.util.Utils;
97
import org.apache.commons.lang3.RandomStringUtils;
108
import org.apache.commons.lang3.StringUtils;
119
import org.slf4j.Logger;
1210
import org.slf4j.LoggerFactory;
1311

14-
import java.util.LinkedList;
15-
import java.util.Properties;
16-
import java.util.concurrent.ScheduledExecutorService;
17-
import java.util.concurrent.TimeUnit;
18-
import java.util.concurrent.atomic.AtomicLong;
19-
2012
public class SyncRequestInstance {
2113

2214
public static Logger logger = LoggerFactory.getLogger(SyncRequestInstance.class);

eventmesh-test/src/main/java/com/webank/eventmesh/client/http/demo/sub/SpringBootDemoApplication.java eventmesh-test/src/main/java/com/webank/eventmesh/http/demo/sub/SpringBootDemoApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.webank.eventmesh.client.http.demo.sub;
1+
package com.webank.eventmesh.http.demo.sub;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;

eventmesh-test/src/main/java/com/webank/eventmesh/client/http/demo/sub/controller/SubController.java eventmesh-test/src/main/java/com/webank/eventmesh/http/demo/sub/controller/SubController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.webank.eventmesh.client.http.demo.sub.controller;
1+
package com.webank.eventmesh.http.demo.sub.controller;
22

33
import com.alibaba.fastjson.JSONObject;
44
import org.slf4j.Logger;

0 commit comments

Comments
 (0)