private Map<String, BrokerConfEntity> getBrokerConfInfos(StringBuilder strBuff) {
        // http://127.0.0.1:8080/webapi.htm?method=admin_query_broker_configure
        JsonObject jsonRes = qryDataFromMaster(
                "admin_query_broker_configure", new HashMap<>(), strBuff);
        // check return result
        if (!jsonRes.get("result").getAsBoolean()) {
            logger.info(strBuff.append("Query broker configurations info failure:")
                    .append(jsonRes.get("result").getAsString()).toString());
            strBuff.delete(0, strBuff.length());
            return null;
        }
        Map<String, BrokerConfEntity> brokerInfoMap = new HashMap<>();
        JsonArray jsonBrokerInfoList = jsonRes.get("data").getAsJsonArray();
        for (int i = 0; i < jsonBrokerInfoList.size(); i++) {
            JsonObject jsonItem = jsonBrokerInfoList.get(i).getAsJsonObject();
            if (jsonItem == null) {
                continue;
            }
            try {
                // get base information
                BaseEntity baseEntity = getBaseEntityInfo(jsonItem);
                // get broker configurations
                int brokerId = jsonItem.get("brokerId").getAsInt();
                String brokerIp = jsonItem.get("brokerIp").getAsString();
                BrokerConfEntity brokerConfEntity =
                        new BrokerConfEntity(baseEntity, brokerId, brokerIp);
                // get topic configurations
                TopicPropGroup topicPropGroup = getTopicProps(jsonItem);
                // get broker configurations
                int brokerPort = jsonItem.get("brokerPort").getAsInt();
                int brokerTlsPort = jsonItem.get("brokerTLSPort").getAsInt();
                int brokerWebPort = jsonItem.get("brokerWebPort").getAsInt();
                int regionId = jsonItem.get("regionId").getAsInt();
                int groupId = jsonItem.get("groupId").getAsInt();
                String statusInfo = jsonItem.get("manageStatus").getAsString();
                ManageStatus mngStatus = ManageStatus.descOf(statusInfo);
                // build broker configurations
                brokerConfEntity.updModifyInfo(baseEntity.getDataVerId(),
                        brokerPort, brokerTlsPort, brokerWebPort, regionId,
                        groupId, mngStatus, topicPropGroup);
                brokerInfoMap.put(brokerIp, brokerConfEntity);
            } catch (Throwable e) {
                logger.error(strBuff.append("Parse broker configurations(")
                        .append(jsonItem).append(") throw exception ").append(e).toString());
                strBuff.delete(0, strBuff.length());
                throw e;
            }
        }
        return brokerInfoMap;
    }
Query broker 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