public static ShenyuInstanceRegisterRepository reNewAndInitInstance(final RegisterConfig config) {
        ShenyuInstanceRegisterRepository result = ExtensionLoader.getExtensionLoader(ShenyuInstanceRegisterRepository.class).getJoin(config.getRegisterType());
        result.init(config);
        REPOSITORY_MAP.put(config.getRegisterType(), result);
        return result;
    }
reNew and init instance shenyu instance register repository.

@param config the config
@return the shenyu instance register repository
shenyu-registry/shenyu-registry-core/src/main/java/org/apache/shenyu/registry/core/ShenyuInstanceRegisterRepositoryFactory.java