Static vs Dynamic Shovel Configuration

548 views
Skip to first unread message

Kin L

unread,
Jul 15, 2015, 8:31:31 PM7/15/15
to rabbitm...@googlegroups.com
Hi,

Sorry if this has been asked before, but I did a search and didn't see an answer.

I'm trying to automate the setup of the rabbitmq configurations. I was wondering if there were any technical reasons not to configure shovels dynamically vs static config files.
Are both of them equally dependable? As in the configurations are persistent through random system/service down events etc. 

As I understand the settings get stored inside a db anyway so I'm not sure if static config files are necessary for making sure configurations are persistent.

The only thing I see is maybe if the rabbitctl reset was issued then the dynamic settings get wiped out, whereas the static config file remains.

Right now I'm automating the shovel configs by using commands to do the dynamic configurations for the shovels. I could wipe out the system and run the automation script and it would recreate the cluster using a generated config file and then the shovels dynamically through "rabbitctl set_parameter shovel <param> <param>". 

Anyway, my question is can I assume that the dynamic configurations are just as persistent as configs coming from a config file? 
What's the difference between a static shovel vs a dynamic shovel besides the fact that one came from a static config file and the other through rabbitctl commands? 

Thanks,
Kin L

Michael Klishin

unread,
Jul 15, 2015, 8:42:17 PM7/15/15
to rabbitm...@googlegroups.com, Kin L
On 16 July 2015 at 03:31:35, Kin L (kensma...@gmail.com) wrote:
> Anyway, my question is can I assume that the dynamic configurations
> are just as persistent as configs coming from a config file?

Dynamic shovel settings are stored in the internal database.

> What's the difference between a static shovel vs a dynamic shovel
> besides the fact that one came from a static config file and the
> other through rabbitctl commands?

Dynamic shovels can be added at any time. Static shovels are started on plugin
startup. 
--
MK

Staff Software Engineer, Pivotal/RabbitMQ


Kin L

unread,
Jul 16, 2015, 1:31:21 PM7/16/15
to rabbitm...@googlegroups.com, kensma...@gmail.com
Thank you so much Michael for your short and straight forward answer.
Reply all
Reply to author
Forward
0 new messages