Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
add the abitity to add a queue #401
@biamorton Michael's dismission does not answer the original request but instead recommends importing an entire config file which will enforce the desired states (like X queues created)
This is a quick copy/paste example from an old mrd project I worked on. It's probably close to correct, but YMMV. Let me know if I can help with it.
In /etc/rabbitmq/rabbitmq.config you'd have something like
...and then in /etc/rabbitmq/definitions.json
...and rabbitmq will "do the needful" by importing that json file when it starts.
IIRC The current running config can be exported from either the web interface or the rabbitmq management python script.
This cookbook has grown exponentially since I took over maintenance of it. It seems we need to add a clear scope to this cookbook and identify where we should be focusing on.
It's nice to have suggestions, but being we have no cadence of releases, nor dedicated resources, a suggestion is that. If there was a PR attached to this issue and it did this, I'd love to upstream it, but as with most opensource goes it's all volunteer work.
There is an example of definitions import in the docs. It's a matter of having a local JSON file with definitions and a config entry.
Instead of adding more and more resources that use HTTP API or CLI tools, it would be a lot easier to add support for definitions import.