public static <T extends ConfigInstance> T getConfig(Class<T> c, String configId) {
        ConfigGetter<T> getter = new ConfigGetter<>(c);
        return getter.getConfig(configId);
    }
Creates a ConfigGetter instance and returns an instance of the config class <code>c</code>.

@param c        a config class
@param configId a config id to use when getting the config
@return an instance of a config class
config/src/main/java/com/yahoo/config/subscription/ConfigGetter.java