新增:pulsar 消费订阅实现

This commit is contained in:
lxy
2020-10-29 12:29:08 +08:00
parent 5ddf349c4f
commit 3c084723ed
8 changed files with 212 additions and 18 deletions

View File

@@ -3,7 +3,7 @@
<application port="2001">
<resources>
<properties load="redis.properties"></properties>
<properties load="config.properties"></properties>
</resources>
<server protocol="HTTP" port="80">

7
conf/config.properties Normal file
View File

@@ -0,0 +1,7 @@
# redis
redis.host=47.111.150.118
redis.password=*Zhong9307!
redis.port=6064
# pulsar
pulsar.serviceurl=pulsar://47.113.228.247:6650

View File

@@ -1,4 +0,0 @@
# redis
redis.host=47.111.150.118
redis.password=*Zhong9307!
redis.port=6064