private static void checkConfigContains(Map<String, String> configs, String key) {
    checkArgument(configs.containsKey(key), "Key %s is missing present from dynamic configs.", key);
  }
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