Dynamic Environment
To load environment variables into the configuration you can use the dynamic.env.config
property key to list all the property names that will need templating at run time. Pinot will lookup the in the environment for the variable specified as value and insert the contents in the configuration.
`dynamic.env.config` is a property that refers to the configuration it's defined in. If you have multiple configuration files make sure to define it in each one of them listing the all the properties that need templating in that specific file.
Example:
Following an example where we first load some variables in the ENV and then we specify in the config what needs to be templated and with which variable.
Config from CLI or Config Path
Final result (in memory)
Last updated