public AddTopicReq getAddTopicReq(List<Integer> brokerIds, List<String> targetTopicNames, String token) {

        AddTopicReq req = new AddTopicReq();
        TopicInfoList topicInfoList = data.get(0);
        if (topicInfoList == null) {
            return req;
        }
        List<TopicInfoList.TopicInfo> topicInfos = topicInfoList.getTopicInfo();
        if (CollectionUtils.isEmpty(topicInfos)) {
            return req;
        }

        TopicInfoList.TopicInfo topicInfo = topicInfos.get(0);
        String brokerStr = StringUtils.join(brokerIds, ",");
        String topic = StringUtils.join(targetTopicNames, ",");

        setAttributes(token, req, topicInfo, brokerStr, topic);
        return req;
    }
topic add information

@param brokerIds this is the broker ids
@param targetTopicNames The topic name of the target
@param token authorized key
@return topic data
inlong-tubemq/tubemq-manager/src/main/java/org/apache/inlong/tubemq/manager/service/tube/TubeHttpTopicInfoList.java