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

Hot configuration reload #338

Closed
mcqueary opened this issue Aug 31, 2016 · 5 comments
Closed

Hot configuration reload #338

mcqueary opened this issue Aug 31, 2016 · 5 comments
Assignees
Milestone

Comments

@mcqueary
Copy link

gnatsd should support reloading (parts of) its configuration without requiring a restart.

@mcqueary mcqueary added this to the Project Dialtone milestone Aug 31, 2016
@ofpiyush
Copy link

ofpiyush commented Sep 1, 2016

A public interface would help.

One could then implement reloads from a config store like etcd

@mcqueary mcqueary modified the milestones: gnatsd-1.0.0, Project Dialtone Sep 1, 2016
@simonrussell
Copy link

It would be actually quite useful if one could publish a new configuration to a configuration subject, which the server would pick up. (And a subject you can subscribe to for info about config updates.)

@mcqueary mcqueary modified the milestones: Project Dialtone, gnatsd-1.0.0 Oct 14, 2016
@etopian
Copy link

etopian commented Dec 3, 2016

+1 to be able to use the API to change authentication config. it would make implementing applications that dynamically add and remove users much simpler than trying to modify the config file. if you could publish to a subject to change config it's even better because you could do auth for the web app managing that in the file and then modify the other stuff using any client.

@maxatome
Copy link

At least, the automatic detection that TLS certificates changed on disk would be great, see https://diogomonica.com/2017/01/11/hitless-tls-certificate-rotation-in-go/

@mcqueary mcqueary modified the milestones: gnatsd-1.0.0, Project Dialtone Mar 6, 2017
@mcqueary mcqueary added the ready label Mar 6, 2017
@mcqueary mcqueary modified the milestones: Project Dialtone, gnatsd/0.10.0 Mar 7, 2017
@tylertreat tylertreat self-assigned this May 31, 2017
@ColinSullivan1
Copy link
Member

Following the NATS tenet of simplicity, the mechanism to trigger a reload is simple - a unix signal or windows service control message. While we understand the feature requests here and how they can help, with what we have today one can build tooling around this to trigger reloads after certificates have been updated or configuration files around authorization and authentication has changed from an external process.

This was addressed through:
#499, #503, #513, #515, #519, #524, #523

@ghost ghost removed the in progress label Jul 11, 2017
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

7 participants