title: kafka-python consumer not receiving messages
body: <p>I am having trouble with <code>KafaConsumer</code> to make it read from the beginning, or from any other explicit offset.  </p>
  
  <p>Running the command line tools for the consumer for the same topic , I do see messages with the <code>--from-beginning</code> option and it hangs otherwise</p>
  
  <pre><code>$ ./kafka-console-consumer.sh --zookeeper {localhost:port} --topic {topic_name} --from-beginning
  </code></pre>
  
  <p>If I run it through python, it hangs, which I suspect to be caused by incorrect consumer configs</p>
  
  <pre><code>consumer = KafkaConsumer(topic_name,
                       bootstrap_servers=['localhost:9092'],
                       group_id=None,
                       auto_commit_enable=False,
                       auto_offset_reset='smallest')
  
  print "Consuming messages from the given topic"
  for message in consumer:
      print "Message", message
      if message is not None:
          print message.offset, message.value
  
  print "Quit"
  </code></pre>
  
  <h2>Output:</h2>
  
  <p>Consuming messages from the given topic
  (hangs after that)</p>
  
  <p>I am using kafka-python 0.9.5 and the broker runs kafka 8.2. Not sure what the exact problem is. </p>
  
  <p>Set _group_id=None_ as suggested by dpkp to emulate the behavior of console consumer. </p>