-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Comments
A public interface would help. One could then implement reloads from a config store like etcd |
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.) |
+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. |
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/ |
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: |
gnatsd
should support reloading (parts of) its configuration without requiring a restart.The text was updated successfully, but these errors were encountered: