我将在一个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
我在启用联盟插件后确实重新启动了代理。为什么收到此错误“找不到组件联合上游”?
我可以通过管理界面设置上游代理和策略,但是联合仍然无法正常工作。
我遇到相同的错误:
“找不到验证失败的组件联合上游”
安装了rabbitmq_federation
插件后消失了。
这是我的顺序: