Skip to content

Commit c5b4d45

Browse files
Change log updates
1 parent 96294ba commit c5b4d45

File tree

4 files changed

+65
-4
lines changed

4 files changed

+65
-4
lines changed

CHANGELOG.md

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,69 @@
11
# rabbitmqadmin-ng Change Log
22

3-
## v0.28.0 (in development)
3+
## v0.29.0 (in development)
4+
5+
In (documented) changes yet.
6+
7+
8+
## v0.28.0 (Mar 23, 2025)
49

510
### Enhancements
611

12+
* New command group: `federation`, see
13+
14+
```shell
15+
rabbitmqadmin federation help
16+
```
17+
18+
* New command: `federation declare_upstream_for_queues` for declaring upstreams that will exclusively be used for queue
19+
federation. This command does not support any options related to exchange federation.
20+
21+
```shell
22+
rabbitmqadmin federation --vhost "local.vhost" declare_upstream \
23+
--name "dc.vancouver" \
24+
--uri "amqp://192.168.0.25/demote.vhost" \
25+
--ack-mode "on-confirm"
26+
```
27+
28+
* New command: `federation declare_upstream_for_exchanges` for declaring upstreams that will exclusively be used exchange
29+
federation. This command does not support any options related to queue federation.
30+
31+
```shell
32+
rabbitmqadmin federation --vhost "local.vhost" declare_upstream \
33+
--name "dc.vancouver" \
34+
--uri "amqp://192.168.0.25/demote.vhost" \
35+
--ack-mode "on-confirm"
36+
```
37+
38+
* New command: `federation declare_upstream` for declaring upstreams that can be used for either queue or exchange
39+
federation. This command supports the whole spectrum of federation upstream options, that is, both the settings
40+
of queue and exchange federation.
41+
42+
```shell
43+
rabbitmqadmin federation --vhost "local.vhost" declare_upstream \
44+
--name "dc.canada.bc.vancouver" \
45+
--uri "amqp://192.168.0.25/demote.vhost" \
46+
--ack-mode "on-confirm"
47+
```
48+
49+
* New command: `federation list_all_upstreams` for listing all upstreams (that is, upstreams across all the virtual hosts in the cluster).
50+
51+
```shell
52+
rabbitmqadmin federation list_all_upstreams
53+
```
54+
55+
* New command: `federation list_all_links` for listing all links (that is, links across all the virtual hosts in the cluster).
56+
57+
```shell
58+
rabbitmqadmin federation list_all_links
59+
```
60+
61+
* New command: `federation delete_upstream`. As the name suggests, it deletes an upstream.
62+
63+
```shell
64+
rabbitmqadmin federation delete_upstream --name "dc.canada.bc.vancouver"
65+
```
66+
767
* New definitions export `--transformations` value, `obfuscate_usernames`, changes usernames to dummy values
868
(e.g. so that definitions could be shared safely with external teams)
969
* New definitions export `--transformations` value, `exclude_users`, removes users from the result

Cargo.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ reqwest = { version = "0.12.12", features = [
1717
"__rustls",
1818
"rustls-tls-native-roots",
1919
] }
20-
rabbitmq_http_client = { git = "https://github.com/michaelklishin/rabbitmq-http-api-rs.git", features = [
20+
rabbitmq_http_client = { version = "0.28.0", features = [
2121
"core",
2222
"blocking",
2323
"tabled",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ Commands:
7575
publish publishes (inefficiently) message(s) to a queue or a stream. Only suitable for development and test environments.
7676
get fetches message(s) from a queue or stream via polling. Only suitable for development and test environments.
7777
shovels Operations on shovels
78+
federation Operations on federation upstreams and links
7879
tanzu Tanzu RabbitMQ-specific commands
7980
help Print this message or the help of the given subcommand(s)
80-
8181
```
8282

8383
To explore commands in a specific group, use

0 commit comments

Comments
 (0)