@Override
    protected void loadFileSectAttributes(final Ini iniConf) {
        this.loadSystemConf(iniConf);
        this.loadMetaDataSectConf(iniConf);
        this.tlsConfig = this.loadTlsSectConf(iniConf,
                TBaseConstants.META_DEFAULT_MASTER_TLS_PORT);
        this.promConfig = this.loadPrometheusSecConf(iniConf);
        if (this.port == this.webPort
                || (tlsConfig.isTlsEnable() && (this.tlsConfig.getTlsPort() == this.webPort))) {
            throw new IllegalArgumentException(new StringBuilder(512)
                    .append("Illegal field value configuration, the value of ")
                    .append("port or tlsPort cannot be the same as the value of webPort!")
                    .toString());
        }
        if (this.promConfig.isPromEnable()) {
            int promHttpPort = this.promConfig.getPromHttpPort();
            if ((promHttpPort == this.port || promHttpPort == this.webPort
                    || (tlsConfig.isTlsEnable()
                            && (this.tlsConfig.getTlsPort() == promHttpPort)))) {
                throw new IllegalArgumentException(new StringBuilder(512)
                        .append("Illegal port value configuration, the value of ")
                        .append("port or webPort or tlsPort cannot be the same as the value of promHttpPort!")
                        .toString());
            }
        }
        if (useBdbStoreMetaData) {
            if (this.port == bdbMetaConfig.getRepNodePort() || (tlsConfig.isTlsEnable()
                    && (this.tlsConfig.getTlsPort() == bdbMetaConfig.getRepNodePort()))) {
                throw new IllegalArgumentException(new StringBuilder(512)
                        .append("Illegal field value configuration, the value of ")
                        .append("port or tlsPort cannot be the same as the value of repNodePort!")
                        .toString());
            }
            if (this.webPort == bdbMetaConfig.getRepNodePort()) {
                throw new IllegalArgumentException(new StringBuilder(512)
                        .append("Illegal field value configuration, the value of ")
                        .append("webPort cannot be the same as the value of repNodePort!")
                        .toString());
            }
            if (this.promConfig.isPromEnable()
                    && this.promConfig.getPromHttpPort() == bdbMetaConfig.getRepNodePort()) {
                throw new IllegalArgumentException(new StringBuilder(512)
                        .append("Illegal field value configuration, the value of ")
                        .append("promHttpPort cannot be the same as the value of repNodePort!")
                        .toString());

            }
        }
    }
Load file section attributes

@param iniConf  the master ini object
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/MasterConfig.java