public Set<String> getCurRegisteredPartSet() {
        Set<String> partKeySet = new TreeSet<>();
        for (String partKey : partitionMap.keySet()) {
            if (partKey == null) {
                continue;
            }
            partKeySet.add(partKey);
        }
        return partKeySet;
    }
Remove a partition.

@param partition partition to be removed
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/consumer/RmtDataCache.java