private boolean writeGroupResCtrlInfo(Map<String, GroupResCtrlEntity> groupResCtrlMap,
            StringBuilder strBuff, ProcessResult result) {
        if (groupResCtrlMap.isEmpty()) {
            return true;
        }
        Map<String, String> inParamMap = new HashMap<>();
        for (GroupResCtrlEntity entity : groupResCtrlMap.values()) {
            inParamMap.clear();
            inParamMap.put("groupName", entity.getGroupName());
            inParamMap.put("resCheckEnable", String.valueOf(entity.isEnableResCheck()));
            inParamMap.put("alwdBrokerClientRate", String.valueOf(entity.getAllowedBrokerClientRate()));
            inParamMap.put("qryPriorityId", String.valueOf(entity.getQryPriorityId()));
            inParamMap.put("flowCtrlEnable", String.valueOf(entity.isFlowCtrlEnable()));
            inParamMap.put("flowCtrlInfo", String.valueOf(entity.getFlowCtrlInfo()));
            inParamMap.put("dataVersionId", String.valueOf(entity.getDataVerId()));
            inParamMap.put("createUser", String.valueOf(entity.getCreateUser()));
            inParamMap.put("createDate", String.valueOf(entity.getCreateDateStr()));
            inParamMap.put("modifyUser", String.valueOf(entity.getModifyUser()));
            inParamMap.put("modifyDate", String.valueOf(entity.getModifyDateStr()));
            if (!writeDataToMaster("admin_add_group_resctrl_info",
                    authToken, inParamMap, strBuff, result)) {
                return false;
            }
        }
        return true;
    }
Write group resource control configurations to Master

@param groupResCtrlMap  the group resource control configurations that needs to be stored
@param strBuff          the string buffer
@param result           the process result
@return         the process result
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/cli/CliMetaDataBRU.java