private Map<String, TopicCtrlEntity> getTopicControlInfos(StringBuilder strBuff) {
        // http://127.0.0.1:8080/webapi.htm?method=admin_query_topic_control_info
        JsonObject jsonRes = qryDataFromMaster(
                "admin_query_topic_control_info", new HashMap<>(), strBuff);
        // check return result
        if (!jsonRes.get("result").getAsBoolean()) {
            logger.info(strBuff.append("Query topic control configurations info failure:")
                    .append(jsonRes.get("result").getAsString()).toString());
            strBuff.delete(0, strBuff.length());
            return null;
        }
        Map<String, TopicCtrlEntity> topicCtrlMap = new HashMap<>();
        JsonArray jsonTopicCtrlList = jsonRes.get("data").getAsJsonArray();
        for (int i = 0; i < jsonTopicCtrlList.size(); i++) {
            JsonObject jsonItem = jsonTopicCtrlList.get(i).getAsJsonObject();
            if (jsonItem == null) {
                continue;
            }
            try {
                // get base information
                BaseEntity baseEntity = getBaseEntityInfo(jsonItem);
                // get topic control configurations
                String topicName = jsonItem.get("topicName").getAsString();
                int topicNameId = jsonItem.get("topicNameId").getAsInt();
                boolean enableAuthCtrl = jsonItem.get("enableAuthControl").getAsBoolean();
                int maxMsgSizeInMB = jsonItem.get("maxMsgSizeInMB").getAsInt();
                EnableStatus authCtrlStatus =
                        enableAuthCtrl ? EnableStatus.STATUS_ENABLE : EnableStatus.STATUS_DISABLE;
                // build topic control entity
                TopicCtrlEntity topicCtrlEntity = new TopicCtrlEntity(baseEntity, topicName);
                topicCtrlEntity.updModifyInfo(baseEntity.getDataVerId(),
                        topicNameId, maxMsgSizeInMB, authCtrlStatus);
                topicCtrlMap.put(topicCtrlEntity.getTopicName(), topicCtrlEntity);
            } catch (Throwable e) {
                logger.error(strBuff.append("Parse topic control configurations(")
                        .append(jsonItem).append(") throw exception ").append(e).toString());
                strBuff.delete(0, strBuff.length());
                throw e;
            }
        }
        return topicCtrlMap;
    }
Query topic control 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