code: public static Configuration loadConfiguration() {
  		final String configDir = System.getenv(ConfigConstants.ENV_FLINK_CONF_DIR);
  		if (configDir == null) {
  			return new Configuration();
  		}
  		return loadConfiguration(configDir, null);
  	}
docs: Loads the global configuration from the environment. Fails if an error occurs during loading. Returns an
  empty configuration object if the environment variable is not set. In production this variable is set but
  tests and local execution/debugging don't have this environment variable set. That's why we should fail
  if it is not set.
  @return Returns the Configuration