kafka-python consumer not receiving messages
问题 I am having trouble with KafaConsumer to make it read from the beginning, or from any other explicit offset. Running the command line tools for the consumer for the same topic , I do see messages with the --from-beginning option and it hangs otherwise $ ./kafka-console-consumer.sh --zookeeper {localhost:port} --topic {topic_name} --from-beginning If I run it through python, it hangs, which I suspect to be caused by incorrect consumer configs consumer = KafkaConsumer(topic_name, bootstrap