Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration persistence #58

Closed
micdenny opened this issue Sep 21, 2021 · 2 comments
Closed

Configuration persistence #58

micdenny opened this issue Sep 21, 2021 · 2 comments
Assignees

Comments

@micdenny
Copy link

Does amqpprox support configuration persistence and save the configuration on file?

How it survives a server reboot or fail? Do you script the configuration as amqpprox_ctl commands and submit on each reboot?

Probably is connected to #57

@adamncasey
Copy link
Contributor

Does amqpprox support configuration persistence and save the configuration on file?

No, amqpprox only receives commands from amqpprox_ctl. Synchronising static file config & dynamic config commands can be awkward, this approach means amqpprox only needs to understand how to read config from one source.

Do you script the configuration as amqpprox_ctl commands and submit on each reboot?

Yeah - when the server comes up it's another application above amqpprox which actually starts amqpprox & submits the configuration commands. If amqpprox fails the parent application will also exit, which then kicks our process supervisor into gear & brings everything back up again as before.

Thanks again for your input - interested to hear how you get on with this down the line

@adamncasey adamncasey self-assigned this Sep 21, 2021
@micdenny
Copy link
Author

I was expecting something like this, but I've asked to be sure I didn't miss some part of amqpprox 😄

I think I'm good with the reply and I'm going to close the issue because it's by-design.

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants