@Override
    public TopicProcessResult addOrUpdTopicDeployInfo(boolean isAddOp, TopicDeployEntity entity,
            StringBuilder strBuff, ProcessResult result) {
        // check current status
        if (!metaConfigMapper.checkStoreStatus(true, result)) {
            return new TopicProcessResult(entity.getBrokerId(), entity.getTopicName(), result);
        }
        // check broker configure exist
        BrokerConfEntity brokerConf =
                getBrokerConfByBrokerId(entity.getBrokerId());
        if (brokerConf == null) {
            result.setFailResult(DataOpErrCode.DERR_NOT_EXIST.getCode(),
                    strBuff.append("Not found broker configure record by brokerId=")
                            .append(entity.getBrokerId())
                            .append(", please create the broker's configure first!").toString());
            strBuff.delete(0, strBuff.length());
            return new TopicProcessResult(entity.getBrokerId(), entity.getTopicName(), result);
        }
        // add or update topic deploy information
        if (metaConfigMapper.addOrUpdTopicDeployInfo(isAddOp, entity, strBuff, result)) {
            // auto trigger configure sync
            triggerBrokerConfDataSync(entity.getBrokerId(), strBuff, result);
        }
        // return result
        return new TopicProcessResult(entity.getBrokerId(), entity.getTopicName(), result);
    }
Reload topic's deploy config info

@param topicNameSet  the topic name set
@param strBuff       the string buffer
@param result        the process return result
@return true if success otherwise false
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/DefaultMetaDataService.java