private void load() {
        try {
            final File file = new File(configPath);
            if (!file.exists()) {
                throw new StartupException(new StringBuilder(256).append("File ")
                        .append(configPath).append(" is not exists").toString());
            }
            basePath = file.getParent() == null ? "" : file.getParent();
            final Ini iniConf = this.createIni(file);
            this.loadConfigAttributes(iniConf);
        } catch (final IOException e) {
            throw new StartupException(new StringBuilder(256)
                    .append("Parse configuration failed,path=")
                    .append(configPath).toString(), e);
        }
    }
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