我是 Kafka 新手,想要获取每个分区的 Kafka 主题的位置。我在文档中看到 - https://kafka- python.readthedocs.io/en/master/apidoc/KafkaAdminClient.html#kafkaadminclient - 偏移量可以通过函数获得KafkaAdminClient.list_consumer_group_offsets,但我没有看到这样的方法那里的位置。
KafkaAdminClient.list_consumer_group_offsets
有人知道我怎样才能得到它吗?
python apache-kafka kafka-topic
apache-kafka ×1
kafka-topic ×1
python ×1