配置rabbitmq.publisher-confirms: true飘红问题解决方案 这是因为源码在过时级别中设置了error 这里我们可以将新版本jar包更换 spring.rabbitmq.publisher-confirm-type=correlated