def partitions_for_topic(self, topic):
        return self._client.cluster.partitions_for_topic(topic)
Get metadata about the partitions for a given topic.
dataset/ETHPy150Open dpkp/kafka-python/kafka/consumer/group.py/KafkaConsumer.partitions_for_topic