This should address crashes like this in (found in user's logs): ``` exception error: no case clause matching [[{connection_details,[]}, {name,<<"10.0.13.41:50497 -> 10.2.230.128:5671 (1)">>}, {node,rabbit@foobar}, {number,1}, {user,<<"...">>}, {user_who_performed_action,<<"...">>}, {vhost,<<"/">>}], [{connection_details,[]}, {name,<<"10.0.13.41:50142 -> 10.2.230.128:5671 (1)">>}, {node,rabbit@foobar}, {number,1}, {user,<<"...">>}, {user_who_performed_action,<<"...">>}, {vhost,<<"/">>}]] in function rabbit_federation_mgmt:format/3 (rabbit_federation_mgmt.erl, line 100) in call from rabbit_federation_mgmt:'-status/3-lc$^0/1-0-'/4 (rabbit_federation_mgmt.erl, line 89) in call from rabbit_federation_mgmt:'-status/4-lc$^0/1-0-'/3 (rabbit_federation_mgmt.erl, line 82) in call from rabbit_federation_mgmt:'-status/4-lc$^0/1-0-'/3 (rabbit_federation_mgmt.erl, line 82) in call from rabbit_federation_mgmt:status/4 (rabbit_federation_mgmt.erl, line 82) in call from rabbit_federation_mgmt:to_json/2 (rabbit_federation_mgmt.erl, line 57) in call from cowboy_rest:call/3 (src/cowboy_rest.erl, line 1590) in call from cowboy_rest:set_resp_body/2 (src/cowboy_rest.erl, line 1473) ``` |
||
---|---|---|
.. | ||
priv/www/js | ||
src | ||
test | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
LICENSE-APACHE2-ExplorerCanvas | ||
LICENSE-BSD-base64js | ||
LICENSE-MIT-EJS10 | ||
LICENSE-MIT-Flot | ||
LICENSE-MIT-Sammy060 | ||
LICENSE-MIT-jQuery164 | ||
LICENSE-MPL-RabbitMQ | ||
Makefile | ||
README.md |
README.md
RabbitMQ Federation Management Plugin
This plugin adds information on federation link status to the management plugin.
Installation
In recent releases, this plugin ships with RabbitMQ. Enable it with
rabbitmq-plugins enable rabbitmq_management rabbitmq_federation_management
If you have a heterogenous cluster (where the nodes have different plugins installed), this should be installed on the same nodes as the management plugin.
Use over HTTP API
The HTTP API endpoints allow for retrieval of federation links:
# lists all links
GET /api/federation-links
# lists links in a vhost
GET /api/federation-links/{vhost}
Building From Source
To build the plugin, use
make dist
and see under the ./plugins
directory.
Copyright and License
(c) 2007-2024 Broadcom. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.
See LICENSE
for license information.