Full authentication is required to access this resource(/bus/refrsh)

1.config客户端引入依赖

spring-cloud-starter-bus-amqp

2.bootstrap.yml里配置rabbitmq的host,passwor等等

然后发现访问bus/refresh报错:

Full authentication is required to access this resource(/bus/refrsh)_第1张图片
解决:把健康监控的映射全暴露就好
Full authentication is required to access this resource(/bus/refrsh)_第2张图片
post一下:

在这里插入图片描述
配置自动更新完成

你可能感兴趣的:(springcloud)