Details
-
Improvement
-
Status: Done
-
Major
-
Resolution: Done
-
0.4.0
-
None
Description
Many Stellar functions accept configuration values from the Global configuration. When using the REPL you can load the global configuration values by launching the REPL with the -z option, which loads the global configuration stored in Zookeeper.
The only way to modify the global configuration within the REPL currently is to do the following steps.
1. Retrieve the global configuration with conf := CONFIG_GET("global")
2. Alter that global configuration by modifying the JSON contained in the `conf` variable.
3. Push the new global configuration using CONFIG_PUT("global", conf)
4. Close and then reopen the REPL. Without restarting the REPL the new global configuration is not loaded.
I want a way to do this directly in the REPL, without restarting it, and also in a way that does not modify the persisted global configuration in Zookeeper. I may be monkeying with something the REPL, but I don't want to break one of my live Metron topologies.
Attachments
Issue Links
- links to