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

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