public StringBuilder adminQueryBrokerVersion(HttpServletRequest req,
            StringBuilder sBuffer,
            ProcessResult result) {
        WebParameterUtils.buildSuccessWithDataRetBegin(sBuffer);
        sBuffer.append("{\"version\":\"")
                .append(TubeServerVersion.SERVER_VERSION).append("\"}");
        WebParameterUtils.buildSuccessWithDataRetEnd(sBuffer, 1);
        return sBuffer;
    }
Query Master's version

@param req       Http Servlet Request
@param sBuffer   string buffer
@param result    process result
@return          metric information
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/web/handler/WebOtherInfoHandler.java