Modifier and Type | Field and Description |
---|---|
static String |
FLINK_CONF_FILENAME |
static String |
HIDDEN_CONTENT |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSensitive(String key)
Check whether the key is a hidden key.
|
static Configuration |
loadConfiguration()
Loads the global configuration from the environment.
|
static Configuration |
loadConfiguration(Configuration dynamicProperties)
Loads the global configuration and adds the given dynamic properties configuration.
|
static Configuration |
loadConfiguration(String configDir)
Loads the configuration files from the specified directory.
|
static Configuration |
loadConfiguration(String configDir,
Configuration dynamicProperties)
Loads the configuration files from the specified directory.
|
public static final String FLINK_CONF_FILENAME
public static final String HIDDEN_CONTENT
public static Configuration loadConfiguration()
public static Configuration loadConfiguration(Configuration dynamicProperties)
dynamicProperties
- The given dynamic propertiespublic static Configuration loadConfiguration(String configDir)
YAML files are supported as configuration files.
configDir
- the directory which contains the configuration filespublic static Configuration loadConfiguration(String configDir, @Nullable Configuration dynamicProperties)
configDir
- directory to load the configuration fromdynamicProperties
- configuration file containing the dynamic properties. Null if none.public static boolean isSensitive(String key)
key
- the config keyCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.