@Nonnull
  public static Configurations createConfiguration(Properties properties) {
    final Configurations configuration = new Configurations();

    final Set<String> propertyNames = properties.stringPropertyNames();

    for (String propertyName : propertyNames) {
      configuration.setString(propertyName, properties.getProperty(propertyName));
    }

    return configuration;
  }
Creates a new {@link Configurations} from the given {@link Properties}.

@param properties to convert into a {@link Configurations}
@return {@link Configurations} which has been populated by the values of the given {@link
    Properties}
amoro-common/src/main/java/org/apache/amoro/config/ConfigHelpers.java