private Map<String, GroupConsumeCtrlEntity> getGroupCsmCtrlInfos(StringBuilder strBuff) {
        // http://127.0.0.1:8080/webapi.htm?method=admin_query_group_csmctrl_info
        JsonObject jsonRes = qryDataFromMaster(
                "admin_query_group_csmctrl_info", new HashMap<>(), strBuff);
        // check return result
        if (!jsonRes.get("result").getAsBoolean()) {
            logger.info(strBuff.append("Query group consume control configurations info failure:")
                    .append(jsonRes.get("result").getAsString()).toString());
            strBuff.delete(0, strBuff.length());
            return null;
        }
        Map<String, GroupConsumeCtrlEntity> groupCsmCtrlMap = new HashMap<>();
        JsonArray jsonGroupCsmCtrlList = jsonRes.get("data").getAsJsonArray();
        for (int i = 0; i < jsonGroupCsmCtrlList.size(); i++) {
            JsonObject jsonItem = jsonGroupCsmCtrlList.get(i).getAsJsonObject();
            if (jsonItem == null) {
                continue;
            }
            try {
                // get base information
                BaseEntity baseEntity = getBaseEntityInfo(jsonItem);
                // get group consume control configurations
                String groupName = jsonItem.get("groupName").getAsString();
                String topicName = jsonItem.get("topicName").getAsString();
                boolean consumeEnable = jsonItem.get("consumeEnable").getAsBoolean();
                String disableCsmRsn = jsonItem.get("disableCsmRsn").getAsString();
                boolean filterEnable = jsonItem.get("filterEnable").getAsBoolean();
                String filterConds = jsonItem.get("filterConds").getAsString();
                EnableStatus csmStatus =
                        consumeEnable ? EnableStatus.STATUS_ENABLE : EnableStatus.STATUS_DISABLE;
                EnableStatus filterStatus =
                        filterEnable ? EnableStatus.STATUS_ENABLE : EnableStatus.STATUS_DISABLE;
                // build group consume control entity
                GroupConsumeCtrlEntity groupCsmCtrlEntity =
                        new GroupConsumeCtrlEntity(baseEntity, groupName, topicName);
                groupCsmCtrlEntity.updModifyInfo(baseEntity.getDataVerId(),
                        csmStatus, disableCsmRsn, filterStatus, filterConds);
                groupCsmCtrlMap.put(groupCsmCtrlEntity.getRecordKey(), groupCsmCtrlEntity);
            } catch (Throwable e) {
                logger.error(strBuff.append("Parse group consume control configurations(")
                        .append(jsonItem).append(") throw exception ").append(e).toString());
                strBuff.delete(0, strBuff.length());
                throw e;
            }
        }
        return groupCsmCtrlMap;
    }
Query group consume 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