public static List<String> loadAndModifyConfiguration(String[] args) throws FlinkException {
        return ConfigurationParserUtils.loadAndModifyConfiguration(
                filterCmdArgs(args, ModifiableClusterConfigurationParserFactory.options()),
                BashJavaUtils.class.getSimpleName());
    }
@TestTemplate
    void testloadAndModifyConfigurationReplaceKeyValuesNotMatched() throws Exception {
        String nonExistentValue = "nonExistentValue";
        String newValue = "newValue";

        String[] args = {
            "--configDir",
            confDir.toFile().getAbsolutePath(),
            "--replaceKeyValue",
            String.format("%s,%s,%s", TEST_CONFIG_KEY, nonExistentValue, newValue)
        };
        List<String> list = FlinkConfigLoader.loadAndModifyConfiguration(args);
        if (standardYaml) {
            assertThat(list).containsExactly("test:", "  key: " + TEST_CONFIG_VALUE);
        } else {
            assertThat(list).containsExactlyInAnyOrder(TEST_CONFIG_KEY + ": " + TEST_CONFIG_VALUE);
        }
    }