Modifier and Type | Field and Description |
---|---|
static String |
FLINK_CONF_FILENAME |
static String |
HIDDEN_CONTENT |
static String |
LEGACY_FLINK_CONF_FILENAME |
Modifier and Type | Method and Description |
---|---|
static String |
getFlinkConfFilename() |
static boolean |
isSensitive(String key)
Check whether the key is a hidden key.
|
static boolean |
isStandardYaml() |
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.
|
static void |
setStandardYaml(boolean standardYaml) |
public static final String LEGACY_FLINK_CONF_FILENAME
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 keypublic static String getFlinkConfFilename()
public static boolean isStandardYaml()
@VisibleForTesting public static void setStandardYaml(boolean standardYaml)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.