public static void validateString(
            String key,
            String value,
            boolean isOptional,
            int minLen) {
        validateString(key, value, isOptional, minLen, Integer.MAX_VALUE);
    }
Used for validate format options {@link ReadableConfig}.
inlong-sort/sort-formats/format-common/src/main/java/org/apache/inlong/sort/formats/util/ValidateUtils.java