mumrah/kafka-python — pull request #234 by dpkp (2014-09-11 07:17:36+00:00)
Title: A simpler kafka consumer

```
kafka = KafkaConsumer('topic1')
for m in kafka:
print m

kafka = KafkaConsumer('topic1', 'topic2',
group_id='my_consumer_group',
auto_commit_enable=True,
auto_commit_interval_ms=30 * 1000,
auto_offset_reset='smallest')

for m in kafka:
process_message(m)
kafka.task_done(m)
```