新增rocketmq-demo演示工程

This commit is contained in:
zlt
2019-04-20 23:35:44 +08:00
parent 1a3a16d33d
commit f8d875b91c
26 changed files with 844 additions and 2 deletions
@@ -0,0 +1,39 @@
server:
port: 11003
spring:
application:
name: rocketmq-produce
cloud:
stream:
rocketmq:
binder:
# RocketMQ 服务器地址
name-server: 192.168.28.130:9876
bindings:
input2:
consumer:
#增加tag过滤
tags: tagObj
bindings:
input:
destination: test-topic
content-type: text/plain
group: consume-group1
consumer:
#并发消费线程数
concurrency: 20
input2:
destination: test-topic
content-type: application/json
group: consume-group2
consumer:
#并发消费线程数
concurrency: 20
input3:
destination: test-topic
content-type: text/plain
group: consume-group3
consumer:
#并发消费线程数
concurrency: 20