Details
-
New Feature
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
There should be a way to dynamically reload the configuration properties from the disk. The purpose of this feature is to let individual classes which are interested in observing this configuration changes, to be notified when the conf is reloaded from the disk. This is similar to how Hbase has done.
Class Diagram
APPROACH DETAILS
The approach is based on the adaption of Hbase Online Configuration. In this case, the configuration file is monitored for any changes on the disk. If the file has changed, the properties of Configuration is reloaded and all the observers are notified.
The classes that implements the observers updates the necessary values if required.