private static Supplier<IClientConfig> factoryFromConfigType(Class<? extends IClientConfig> clientConfigClass) {
        return () -> {
                try {
                    return (IClientConfig) clientConfigClass.newInstance();
                } catch (Exception e) {
                    throw new RuntimeException(String.format("Failed to create config for class '%s'", clientConfigClass));
                }
            };
    }
Get the client configuration given the name or create one with clientConfigClass if it does not exist. An instance of IClientConfig
is created and {@link IClientConfig#loadProperties(String)} will be called.
ribbon-loadbalancer/src/main/java/com/netflix/client/ClientFactory.java