@SuppressWarnings("unchecked")
  public <T> T getNewInstance(String k) {
    try {
      return (T) getClass(k).newInstance();
    } catch (Exception e) {
      throw new ConfigException("Unable to instantiate class.", e);
    }
  }
Store and retrieve named, typed values as configuration for classes implementing this interface.
samza-api/src/main/java/org/apache/samza/config/Config.java