kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax" <matth...@confluent.io>
Subject Re: auto.offset.reset for Kafka streams 0.10.2.0
Date Tue, 11 Apr 2017 06:37:47 GMT
Default for Streams is "earliest"

cf.
https://github.com/apache/kafka/blob/0.10.2.0/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java#L405


-Matthias

On 4/10/17 9:41 PM, Mahendra Kariya wrote:
> This was even my assumption. But I had to explicitly specify
> auto.offset.reset=latest. Without this config, it started from "earliest"!
> 
> On Tue, Apr 11, 2017 at 10:07 AM, Sachin Mittal <sjmittal@gmail.com> wrote:
> 
>> As far as I know default is latest, if no offsets are found. Otherwise it
>> starts from the offset.
>>
>>
>> On Tue, Apr 11, 2017 at 8:51 AM, Mahendra Kariya <
>> mahendra.kariya@go-jek.com
>>> wrote:
>>
>>> Hey All,
>>>
>>> Is the auto offset reset set to "earliest" by default in Kafka streams
>>> 0.10.2.0? I thought default was "latest".
>>>
>>> I started a new Kafka streams application with a fresh application id and
>>> it started consuming messages from the beginning.
>>>
>>
> 


Mime
View raw message