Files
gofly-platform-services/zlt-demo/rocketmq-demo/rocketmq-consume/src/main/resources/application.yml
T
2019-04-20 23:35:44 +08:00

39 lines
942 B
YAML

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