<gh_stars>0
from kafka import KafkaConsumer


consumer = KafkaConsumer('hello', bootstrap_servers='kafka')

for msg in consumer:
    print (msg)

from kafka import KafkaConsumer


consumer = KafkaConsumer('hello', bootstrap_servers='kafka')

for msg in consumer:
    print (msg)