This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
forked from saltstack-formulas/rabbitmq-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e117efc
commit 4c5ffe5
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
## Create shovel users-forward-converter-delta | ||
|
||
rabbitmqctl -p users-api set_parameter shovel users-forward-converter-delta '{"src-protocol": "amqp091", "src-uri": "amqp://usersapi@/users-api", "src-exchange": "users-api", "dest-protocol": "amqp091", "dest-uri": "amqp://data-bridge@/data-bridge", "dest-exchange": "forward-converter", "ack-mode": "on-confirm","src-delete-after": "never"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include: | ||
- rabbitmq | ||
|
||
create_dynamic_shovel: | ||
cmd.script: | ||
- source: salt://rmq/files/shovel.sh | ||
- unless: rabbitmqctl eval 'rabbit_shovel_status:status().' | grep running |