title: Kafka Consumer Properties to read from the maximum offset
body: <p>I have written a Java Kafka Consumer. I would like to make sure how to explicitly ensure that once the Kafka Consumer is started it only reads the messages which are sent by the producer from that time onwards i.e. it should not read any messages which have already been sent by the producer to Kafka. Can anyone explain how to ensure this? :</p>
  
  <p>Here is a snippet of the properties I use</p>
  
  <pre><code>Properties properties = new Properties();
  properties.put("zookeeper.connect", zookeeperHost);
  properties.put("group.id", group);
  properties.put("auto.offset.reset","largest");
  ConsumerConfig consumerConfig = new ConsumerConfig(properties);
  consumerConnector = Consumer.createJavaConsumerConnector(consumerConfig);
  </code></pre>
  
  <p>UPDATE Sept14:</p>
  
  <p>I am using the following properties, it seems that the consumer still reads from the beginning at times, can someone tell me what's wrong now? </p>
  
  <p>I am using Kafka Version 0.8.2</p>
  
  <pre><code>properties.put("auto.offset.reset","largest");
  properties.put("auto.commit.enable","false");
  </code></pre>