0.4.0 (deprecated)
For SDK versions 0.4.x and higher:
Setting the auto.offset.reset property in kafka-config.properties to latest, will start the consumer from where it last stopped consuming or failed (not with latest message).
Setting the auto.offset.reset property in kafka-config.properties to earliest, will always start the consumer reading data after midnight (12:00:00 AM ET)
The default value for auto.offset.reset is earliest.