private Boolean testConnectAdminUrl(PulsarClusterInfo pulsarInfo) {

        try {
            // test connect for pulsar adminUrl
            PulsarUtils.getTenants(restTemplate, pulsarInfo);
            return true;
        } catch (Exception e) {
            String errMsg = String.format("Pulsar connection failed for AdminUrl=%s", pulsarInfo.getAdminUrl());
            LOGGER.error(errMsg, e);
            throw new BusinessException(errMsg);
        }
    }
Test connect for Pulsar AdminUrl

@param pulsarInfo pulsar cluster info
@return
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/cluster/PulsarClusterOperator.java