private TubeMQResult executeHttpRequest(HttpGet httpGet, String url, long startTime) {
        TubeMQResult defaultResult = new TubeMQResult();

        try (CloseableHttpResponse response = httpclient.execute(httpGet)) {
            TubeHttpResponse tubeResponse =
                    gson.fromJson(new InputStreamReader(response.getEntity().getContent(),
                            StandardCharsets.UTF_8), TubeHttpResponse.class);
            if (tubeResponse.getCode() == TubeConst.SUCCESS_CODE
                    && tubeResponse.getErrCode() == TubeConst.SUCCESS_CODE) {
                logRequestDetails(url, startTime, "Success");
                return defaultResult;
            } else {
                defaultResult = errorResult(tubeResponse.getErrMsg());
                logRequestDetails(url, startTime, "Failed: " + tubeResponse.getErrMsg());
            }
        } catch (Exception ex) {
            log.error("exception caught while requesting broker status", ex);
            defaultResult = TubeMQResult.errorResult(ex.getMessage());
            logRequestDetails(url, startTime, "Exception: " + ex.getMessage());
        }
        return defaultResult;
    }
Executes an HTTP request and returns the TubeMQResult.

@param httpGet    The HttpGet request to execute.
@param url        The URL being requested.
@param startTime  The start time of the request.
@return TubeMQResult representing the result of the HTTP request.
inlong-tubemq/tubemq-manager/src/main/java/org/apache/inlong/tubemq/manager/service/MasterServiceImpl.java