private boolean isValidSysTopicConf(TopicDeployEntity deployEntity,
            StringBuilder strBuff, ProcessResult result) {
        if (!TServerConstants.OFFSET_HISTORY_NAME.equals(deployEntity.getTopicName())) {
            return true;
        }
        if (deployEntity.getNumTopicStores() != TServerConstants.OFFSET_HISTORY_NUMSTORES) {
            result.setFailResult(DataOpErrCode.DERR_ILLEGAL_VALUE.getCode(),
                    strBuff.append("For system topic")
                            .append(TServerConstants.OFFSET_HISTORY_NAME)
                            .append(", the TopicStores value(")
                            .append(TServerConstants.OFFSET_HISTORY_NUMSTORES)
                            .append(") cannot be changed!").toString());
            strBuff.delete(0, strBuff.length());
            return result.isSuccess();
        }
        if (deployEntity.getNumPartitions() != TServerConstants.OFFSET_HISTORY_NUMPARTS) {
            result.setFailResult(DataOpErrCode.DERR_ILLEGAL_VALUE.getCode(),
                    strBuff.append("For system topic")
                            .append(TServerConstants.OFFSET_HISTORY_NAME)
                            .append(", the Partition value(")
                            .append(TServerConstants.OFFSET_HISTORY_NUMPARTS)
                            .append(") cannot be changed!").toString());
            strBuff.delete(0, strBuff.length());
            return result.isSuccess();
        }
        return true;
    }
Verify the validity of the configuration value for the system topic

@param deployEntity   the topic configuration that needs to be added or updated
@param strBuff  the print info string buffer
@param result   the process result return
@return true if valid otherwise false
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/impl/AbsTopicDeployMapperImpl.java