|
|
|
@ -13,37 +13,6 @@ spring:
|
|
|
|
|
profiles:
|
|
|
|
|
# 环境配置
|
|
|
|
|
active: @profiles.active@
|
|
|
|
|
---
|
|
|
|
|
spring:
|
|
|
|
|
rabbitmq:
|
|
|
|
|
host: 81.70.150.73
|
|
|
|
|
port: 5672
|
|
|
|
|
username: lihongbo
|
|
|
|
|
password: lihongbo.123
|
|
|
|
|
cloud:
|
|
|
|
|
stream:
|
|
|
|
|
function:
|
|
|
|
|
# 重点配置 与 binding 名与消费者对应
|
|
|
|
|
definition: delay
|
|
|
|
|
rabbit:
|
|
|
|
|
bindings:
|
|
|
|
|
delay-in-0:
|
|
|
|
|
consumer:
|
|
|
|
|
delayedExchange: true
|
|
|
|
|
delay-out-0:
|
|
|
|
|
producer:
|
|
|
|
|
delayedExchange: true
|
|
|
|
|
bindings:
|
|
|
|
|
delay-in-0:
|
|
|
|
|
destination: delay.exchange.cloud
|
|
|
|
|
content-type: application/json
|
|
|
|
|
group: delay-group
|
|
|
|
|
binder: rabbit
|
|
|
|
|
delay-out-0:
|
|
|
|
|
destination: delay.exchange.cloud
|
|
|
|
|
content-type: application/json
|
|
|
|
|
group: delay-group
|
|
|
|
|
binder: rabbit
|
|
|
|
|
|
|
|
|
|
--- # nacos 配置
|
|
|
|
|
spring:
|
|
|
|
|