public static JsonObject getInternalStatsPartitionedTopics(RestTemplate restTemplate,
            PulsarClusterInfo clusterInfo, String topicPath) throws Exception {
        return HttpUtils.request(restTemplate, clusterInfo.getAdminUrls(QUERY_PERSISTENT_PATH + "/" + topicPath
                + "/partitioned-internalStats"), HttpMethod.GET, null,
                getHttpHeaders(clusterInfo.getToken()),
                JsonObject.class);
    }
Get the stats-internal for the partitioned topic.

@param restTemplate spring framework RestTemplate
@param clusterInfo pulsar cluster info
@param topicPath pulsar topic path
@return pulsar internal stat info of partitioned topic
@throws Exception any exception if occurred
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/queue/pulsar/PulsarUtils.java