我在一个rabbitmq经纪人(B)上设立联邦,另一个经纪人为上游经纪人(A)。
我在尝试运行命令来设置上游代理时遇到此错误。
localhost:$ sbin/rabbitmq-plugins enable rabbitmq_federation
The following plugins have been enabled:
rabbitmq_federation
Plugin configuration has changed. Restart RabbitMQ for changes to take effect.
localhost:$ sbin/rabbitmq-plugins enable rabbitmq_federation_management
The following plugins have been enabled:
rabbitmq_federation_management
localhost:$ sbin/rabbitmqctl set_parameter federation-upstream my-upstream '{"uri":"amqp://localhost:5672","expires":3600000}'
Setting runtime parameter "my-upstream" for component "federation-upstream" to "{\"uri\":\"amqp://localhost:5672\",\"expires\":3600000}" ...
Error: Validation failed
component federation-upstream not found
启用联合插件后,我确实重启了代理。为什么我收到此错误“组件联合 - 上游未找到”?
我可以通过管理UI设置上游代理和策略,但联合仍然无法正常工作。
答案 0 :(得分:0)
我遇到了同样的错误:
“未通过验证失败的组件联合上游”
在我安装了rabbitmq_federation
插件之后消失了。
这是我的顺序: