kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

BE: Wizard: Auto reloading dynamic config file

Open fallen-up opened this issue 1 year ago • 2 comments

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

fallen-up avatar Oct 16 '24 21:10 fallen-up

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 avatar Oct 17 '24 09:10 vivekkoya

@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).

Haarolean avatar Oct 17 '24 10:10 Haarolean

config.autoreload must be set to true Works only for reloading RBAC roles for now

Haarolean avatar Sep 03 '25 14:09 Haarolean