public static Properties processConfig(String config, String dataType) throws IOException {
        return EnhancedServiceLoader.load(Processor.class, dataType).processor(config);
    }
@Test
    void processConfig() throws IOException {
        String yamlString = "store:\n" +
                "  mode: db\n" +
                "  db: \n" +
                "    datasource: druid\n" +
                "    dbType: mysql\n" +
                "    driverClassName: com.mysql.jdbc.Driver\n" +
                "    url: jdbc:mysql://127.0.0.1:3306/server_seata\n" +
                "    user: root\n" +
                "    password: 'root'\n";

        final Properties properties = ConfigProcessor.processConfig(yamlString, "yaml");
        Assertions.assertEquals(properties.getProperty("store.mode"), "db");

    }