Files
gofly-platform-services/zlt-demo/rocketmq-demo/rocketmq-consume/src/main/resources/application.yml
T

40 lines
1005 B
YAML

server:
port: 11003
spring:
application:
name: rocketmq-produce
cloud:
stream:
function:
definition: receiveInput;receiveInput2;receiveInput3
bindings:
receiveInput-in-0:
destination: test-topic
content-type: text/plain
group: consume-group1
consumer:
#并发消费线程数
concurrency: 20
receiveInput2-in-0:
destination: test-topic
content-type: application/json
group: consume-group2
consumer:
#并发消费线程数
concurrency: 20
receiveInput3-in-0:
destination: test-topic
content-type: text/plain
group: consume-group3
consumer:
#并发消费线程数
concurrency: 20
rocketmq:
binder:
# RocketMQ 服务器地址
name-server: 192.168.28.130:9876
logging:
level:
org.springframework.context.support: debug