Kafka-python retrieve the list of topics
Try with the method KafkaConsumer.topics().
import kafka
consumer = kafka.KafkaConsumer(group_id='test', bootstrap_servers=['server'])
consumer.topics()
Try with the method KafkaConsumer.topics().
import kafka
consumer = kafka.KafkaConsumer(group_id='test', bootstrap_servers=['server'])
consumer.topics()