kafka-ui
kafka-ui copied to clipboard
BE: Wizard: Auto reloading dynamic config file
Issue submitter TODO list
- [X] I've searched for an already existing issues here
- [X] I'm running a supported version of the application which is listed here and the feature is not present there
Is your proposal related to a problem?
No response
Describe the feature you're interested in
now to apply a new config made not via ui requires a reboot of the app/pod. it would be great if kafka-ui could do this on the fly.
at the minimum it will greatly reduce the time it takes to apply rbac changes.
Describe alternatives you've considered
No response
Version you're running
1.0.0
Additional context
No response
Hello, I am willing to take this task. Can you please direct me to the relevant configuration files which need to be considered for RBAC changes? Thanks for the help
@vivekkoya sure, this is not related to RBAC at all. We need to watch for dynamic config file changes DynamicConfigOperations#dynamicConfigFilePath and if there are any, reload the config and restart (see ApplicationConfigController#restartWithConfig for an example).
config.autoreload must be set to true
Works only for reloading RBAC roles for now