public static Configurations fromMap(Map<String, String> map) {
    final Configurations configuration = new Configurations();
    map.forEach(configuration::setString);
    return configuration;
  }
Creates a new configuration that is initialized with the options of the given map.
amoro-common/src/main/java/org/apache/amoro/config/Configurations.java