public boolean updModifyInfo(long dataVerId, int brokerPort, int brokerTLSPort,
            int brokerWebPort, int maxMsgSizeMB,
            int qryPriorityId, EnableStatus flowCtrlEnable,
            int flowRuleCnt, String flowCtrlRuleInfo,
            TopicPropGroup defTopicProps) {
        boolean changed = false;
        // check and set dataVerId info
        if (dataVerId != TBaseConstants.META_VALUE_UNDEFINED
                && this.getDataVerId() != dataVerId) {
            changed = true;
            this.setDataVersionId(dataVerId);
        }
        if (brokerPort != TBaseConstants.META_VALUE_UNDEFINED
                && this.brokerPort != brokerPort) {
            changed = true;
            this.brokerPort = brokerPort;
        }
        if (brokerTLSPort != TBaseConstants.META_VALUE_UNDEFINED
                && this.brokerTLSPort != brokerTLSPort) {
            changed = true;
            this.brokerTLSPort = brokerTLSPort;
        }
        if (brokerWebPort != TBaseConstants.META_VALUE_UNDEFINED
                && this.brokerWebPort != brokerWebPort) {
            changed = true;
            this.brokerWebPort = brokerWebPort;
        }
        // check and set modified field
        if (maxMsgSizeMB != TBaseConstants.META_VALUE_UNDEFINED) {
            int tmpMaxMsgSizeInMB =
                    SettingValidUtils.validAndGetMsgSizeInMB(maxMsgSizeMB);
            if (this.maxMsgSizeInMB != tmpMaxMsgSizeInMB) {
                changed = true;
                this.maxMsgSizeInMB = tmpMaxMsgSizeInMB;
                this.maxMsgSizeInB =
                        SettingValidUtils.validAndXfeMaxMsgSizeFromMBtoB(tmpMaxMsgSizeInMB);
            }
        }
        // check and set qry priority id
        if (qryPriorityId != TBaseConstants.META_VALUE_UNDEFINED
                && this.qryPriorityId != qryPriorityId) {
            changed = true;
            this.qryPriorityId = qryPriorityId;
        }
        // check and set flowCtrl info
        if (flowCtrlEnable != null
                && flowCtrlEnable != EnableStatus.STATUS_UNDEFINE
                && this.gloFlowCtrlStatus != flowCtrlEnable) {
            this.gloFlowCtrlStatus = flowCtrlEnable;
            changed = true;
        }
        if (TStringUtils.isNotBlank(flowCtrlRuleInfo)
                && !flowCtrlRuleInfo.equals(gloFlowCtrlRuleInfo)) {
            changed = true;
            setGloFlowCtrlInfo(flowRuleCnt, flowCtrlRuleInfo);
        }
        // check and set clsDefTopicProps info
        if (defTopicProps != null
                && !defTopicProps.isDataEquals(clsDefTopicProps)) {
            if (clsDefTopicProps.updModifyInfo(defTopicProps)) {
                changed = true;
            }
        }
        if (changed) {
            updSerialId();
        }
        return changed;
    }
update subclass field values

@return if changed
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/dao/entity/ClusterSettingEntity.java