public void getSimilarConfigField(String section, Set<String> configFields, String checkItem) {
        if (!configFields.contains(checkItem)) {
            String best = this.findBestMatchField(configFields, checkItem);
            throw new IllegalArgumentException(new StringBuilder(256)
                    .append("Config item ").append(checkItem)
                    .append(" is Required! in section ").append(section)
                    .append("! (a similar item :").append(best)
                    .append(" found)").toString());
        }
    }
Retrieve similar configurations within a set of specific configurations according to the given configuration.

@param section      the section within file to be searched.
@param configFields the set of configurations to be searched.
@param checkItem    the given configuration to be compared.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/fileconfig/AbstractFileConfig.java