public static Generator<?> newInstance(final String ruleName, final String rule) {
        try {
            return ExtensionLoader.getExtensionLoader(Generator.class).getJoin(ruleName);
        } catch (IllegalArgumentException e) {
            LOG.warn("{} can not parse,please check", rule);
        }
        return null;
    }
New instance mock data generator.

@param ruleName rule name
@param rule     full rule content
@return generator
shenyu-plugin/shenyu-plugin-mock/src/main/java/org/apache/shenyu/plugin/mock/generator/GeneratorFactory.java