install:: pip3 install kafka-python import:: from kafka import KafkaConsumer github:: dpkp/kafka-python doc::