docs: public int getIntegerConfigAttribute(Map<String, Object> props, String key, int defaultValue) {
          if (props.containsKey(key)) {
              return (Integer) props.get(key);
          }
          return defaultValue;
      }