spring:
cloud:
stream:
bindings:
databasesync-output:
destination: ${DATABASESYNC_EXCHANGE:dev-databasesync-exchange}
content-type: application/json
appo-log-0:
destination: ${APPOLOG_EXCHANGE:dev-appo-log-exchange}
启动的时候会报错,但一直没找到原因,解决方法:调换配置参数的位置。列如:更换【appo-log-0】和【databasesync-output】的位置
spring:
cloud:
stream:
bindings:
appo-log-0:
destination: ${APPOLOG_EXCHANGE:dev-appo-log-exchange}
databasesync-output:
destination: ${DATABASESYNC_EXCHANGE:dev-databasesync-exchange}
content-type: application/json