public static void forceDeleteNonPartitionedTopic(RestTemplate restTemplate, PulsarClusterInfo clusterInfo,
            String topicPath) throws Exception {
        Map<String, Boolean> uriVariables = new HashMap<>();
        uriVariables.put("force", true);
        HttpUtils.request(restTemplate, clusterInfo.getAdminUrls(QUERY_PERSISTENT_PATH + "/" + topicPath),
                HttpMethod.DELETE, uriVariables,
                getHttpHeaders(clusterInfo.getToken()));
    }
Force delete a topic.

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