@RequestMapping(value = "/master")
    public @ResponseBody TubeMQResult masterMethodProxy(@RequestParam String method, @RequestBody String req) {
        switch (method) {
            case TubeConst.MODIFY:
                return nodeService.modifyMasterNode(gson.fromJson(req, MasterDto.class));
            default:
                return TubeMQResult.errorResult(TubeMQErrorConst.NO_SUCH_METHOD);
        }
    }
broker method proxy
divides the operation on broker to different method
inlong-tubemq/tubemq-manager/src/main/java/org/apache/inlong/tubemq/manager/controller/node/NodeController.java