public int getInt(final Profile.Section section, final String key) {
        final String value = section.get(key);
        if (TStringUtils.isBlank(value)) {
            throw new IllegalArgumentException(new StringBuilder(256)
                    .append("Blank value for ").append(key).toString());
        } else {
            try {
                return Integer.parseInt(value);
            } catch (NumberFormatException e) {
                throw new IllegalArgumentException(new StringBuilder(256)
                        .append("Translate key(").append(key).append(")'s value ")
                        .append(value).append(" to int failure!").toString());
            }
        }
    }
Get integer configuration value from a specific section in the config file.

@param section the specific section where the configure locates
@param key     the key of the configuration
@return the integer value of the configuration, if no value is found, it throws NPE
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/fileconfig/AbstractFileConfig.java