private Map<String, TopicDeployEntity> getTopicDeployInfos(StringBuilder strBuff) {
        // http://127.0.0.1:8080/webapi.htm?method=admin_query_topic_deploy_configure
        JsonObject jsonRes = qryDataFromMaster(
                "admin_query_topic_deploy_configure", new HashMap<>(), strBuff);
        // check return result
        if (!jsonRes.get("result").getAsBoolean()) {
            logger.info(strBuff.append("Query topic deploy configurations info failure:")
                    .append(jsonRes.get("result").getAsString()).toString());
            strBuff.delete(0, strBuff.length());
            return null;
        }
        Map<String, TopicDeployEntity> topicDeployMap = new HashMap<>();
        JsonArray jsonTopicDeployList = jsonRes.get("data").getAsJsonArray();
        for (int i = 0; i < jsonTopicDeployList.size(); i++) {
            JsonObject jsonItem = jsonTopicDeployList.get(i).getAsJsonObject();
            if (jsonItem == null) {
                continue;
            }
            try {
                // get base information
                BaseEntity baseEntity = getBaseEntityInfo(jsonItem);
                // get topic configurations
                TopicPropGroup topicPropGroup = getTopicProps(jsonItem);
                // get topic deploy configurations
                String topicName = jsonItem.get("topicName").getAsString();
                int brokerId = jsonItem.get("brokerId").getAsInt();
                int topicNameId = jsonItem.get("topicNameId").getAsInt();
                String brokerIp = jsonItem.get("brokerIp").getAsString();
                int brokerPort = jsonItem.get("brokerPort").getAsInt();
                int topicStatusId = jsonItem.get("topicStatusId").getAsInt();
                TopicStatus deployStatus = TopicStatus.valueOf(topicStatusId);
                // build topic deploy entity
                TopicDeployEntity topicDeployEntity =
                        new TopicDeployEntity(baseEntity, brokerId, topicName);
                topicDeployEntity.updModifyInfo(baseEntity.getDataVerId(),
                        topicNameId, brokerPort, brokerIp, deployStatus,
                        topicPropGroup);
                topicDeployMap.put(topicDeployEntity.getRecordKey(), topicDeployEntity);
            } catch (Throwable e) {
                logger.error(strBuff.append("Parse topic deploy configurations(")
                        .append(jsonItem).append(") throw exception ").append(e).toString());
                strBuff.delete(0, strBuff.length());
                throw e;
            }
        }
        return topicDeployMap;
    }
Query topic deploy configurations

@param strBuff  the string buffer
@return         the query result, null if query failure
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/cli/CliMetaDataBRU.java