private StringBuilder innQueryGroupConsumeCtrlInfo(HttpServletRequest req,
            StringBuilder strBuff,
            ProcessResult result,
            boolean onlyRetGroup) {
        // build query entity
        GroupConsumeCtrlEntity qryEntity = new GroupConsumeCtrlEntity();
        // get queried operation info, for createUser, modifyUser, dataVersionId
        if (!WebParameterUtils.getQueriedOperateInfo(req, qryEntity, strBuff, result)) {
            WebParameterUtils.buildFailResult(strBuff, result.getErrMsg());
            return strBuff;
        }
        // get group list
        if (!WebParameterUtils.getStringParamValue(req,
                WebFieldDef.COMPSGROUPNAME, false, null, strBuff, result)) {
            WebParameterUtils.buildFailResult(strBuff, result.getErrMsg());
            return strBuff;
        }
        final Set<String> groupSet = (Set<String>) result.getRetData();
        // check and get topicName field
        if (!WebParameterUtils.getStringParamValue(req,
                WebFieldDef.COMPSTOPICNAME, false, null, strBuff, result)) {
            WebParameterUtils.buildFailResult(strBuff, result.getErrMsg());
            return strBuff;
        }
        final Set<String> topicNameSet = (Set<String>) result.getRetData();
        // get consumeEnable info
        if (!WebParameterUtils.getEnableStatusValue(req,
                WebFieldDef.CONSUMEENABLE, false, null, strBuff, result)) {
            WebParameterUtils.buildFailResult(strBuff, result.getErrMsg());
            return strBuff;
        }
        final EnableStatus consumeEnable = (EnableStatus) result.getRetData();
        // get filterEnable info
        if (!WebParameterUtils.getEnableStatusValue(req,
                WebFieldDef.FILTERENABLE, false, null, strBuff, result)) {
            WebParameterUtils.buildFailResult(strBuff, result.getErrMsg());
            return strBuff;
        }
        EnableStatus filterEnable = (EnableStatus) result.getRetData();
        // get filterConds info
        if (!WebParameterUtils.getFilterCondSet(req, false, true, strBuff, result)) {
            WebParameterUtils.buildFailResult(strBuff, result.getErrMsg());
            return strBuff;
        }
        Set<String> filterCondSet = (Set<String>) result.getRetData();
        // query matched records
        qryEntity.updModifyInfo(qryEntity.getDataVerId(),
                consumeEnable, null, filterEnable, null);
        Map<String, List<GroupConsumeCtrlEntity>> qryResultMap =
                defMetaDataService.getGroupConsumeCtrlConf(groupSet, topicNameSet, qryEntity);
        // build return result
        int totalCnt = 0;
        WebParameterUtils.buildSuccessWithDataRetBegin(strBuff);
        if (onlyRetGroup) {
            for (String groupName : qryResultMap.keySet()) {
                if (groupName == null) {
                    continue;
                }
                if (totalCnt++ > 0) {
                    strBuff.append(",");
                }
                strBuff.append("\"").append(groupName).append("\"");
            }
        } else {
            for (List<GroupConsumeCtrlEntity> consumeCtrlEntityList : qryResultMap.values()) {
                if (consumeCtrlEntityList == null || consumeCtrlEntityList.isEmpty()) {
                    continue;
                }
                for (GroupConsumeCtrlEntity entity : consumeCtrlEntityList) {
                    if (entity == null
                            || !WebParameterUtils.isFilterSetFullIncluded(
                                    filterCondSet, entity.getFilterCondStr())) {
                        continue;
                    }
                    if (totalCnt++ > 0) {
                        strBuff.append(",");
                    }
                    entity.toWebJsonStr(strBuff, true, true);
                }
            }
        }
        WebParameterUtils.buildSuccessWithDataRetEnd(strBuff, totalCnt);
        return strBuff;
    }
query group consume control info

@param req       Http Servlet Request
@param strBuff   string buffer
@param result    process result
@param onlyRetGroup  only return group name
@return    process result
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/web/handler/WebGroupConsumeCtrlHandler.java