@SafeVarargs
  private static Config override(Config original, Map<String, String>... overrides) {
    Map<String, String> map = new HashMap<>(original);

    for (Map<String, String> override : overrides) {
      map.putAll(override);
    }

    return new MapConfig(map);
  }
Overrides original config with overridden values.

@param original config to be overridden.
@param overrides overridden values.
@return the overridden config.
samza-core/src/main/java/org/apache/samza/util/ConfigUtil.java