public Map<Integer, List<Partition>> getTopicPartition(String topic) {
        return topicPartitionMap.get(topic);
    }
Get partitions of the given topic.

@param topic topic name
@return partition map
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/producer/ProducerManager.java