@PostMapping("/blackGroup")
    public @ResponseBody TubeMQResult blackGroupProxy(
            @RequestParam String method, @RequestBody String req) {
        switch (method) {
            case TubeConst.ADD:
                return masterService.baseRequestMaster(gson.fromJson(req, AddBlackGroupReq.class));
            case TubeConst.DELETE:
                return masterService.baseRequestMaster(gson.fromJson(req, DeleteBlackGroupReq.class));
            case TubeConst.BATCH_DELETE:
                return masterService.baseRequestMaster(gson.fromJson(req, BatchDeleteGroupReq.class));
            default:
                return TubeMQResult.errorResult(TubeMQErrorConst.NO_SUCH_METHOD);
        }
    }
query the consumer group for certain topic

@param req
@return

@throws Exception the exception
inlong-tubemq/tubemq-manager/src/main/java/org/apache/inlong/tubemq/manager/controller/group/GroupController.java