You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Yuexi Liu (Jira)" <ji...@apache.org> on 2020/12/17 01:13:00 UTC

[jira] [Updated] (KAFKA-10862) kafak stream consume from the earliest by default

     [ https://issues.apache.org/jira/browse/KAFKA-10862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuexi Liu updated KAFKA-10862:
------------------------------
    Description: 
on [https://kafka.apache.org/documentation/#auto.offset.reset] it shows auto.offset.reset is by default using latest, but from code, it is not
 [https://github.com/apache/kafka/blob/72918a98161ba71ff4fa8116fdf8ed02b09a0580/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java#L884]
 and when I create a kafka stream without specified offset reset policy, it consumed from the beginning

  was:
on [https://kafka.apache.org/documentation/#auto.offset.reset] it shows auto.offset.reset is by default using latest, but from code, it is not
[https://github.com/apache/kafka/blob/72918a98161ba71ff4fa8116fdf8ed02b09a0580/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java#L884]
and when I create a kafka stream without specified offset, it consumed from the beginning


> kafak stream consume from the earliest by default
> -------------------------------------------------
>
>                 Key: KAFKA-10862
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10862
>             Project: Kafka
>          Issue Type: Bug
>          Components: config, consumer
>    Affects Versions: 2.3.1
>         Environment: MAC
>            Reporter: Yuexi Liu
>            Priority: Major
>
> on [https://kafka.apache.org/documentation/#auto.offset.reset] it shows auto.offset.reset is by default using latest, but from code, it is not
>  [https://github.com/apache/kafka/blob/72918a98161ba71ff4fa8116fdf8ed02b09a0580/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java#L884]
>  and when I create a kafka stream without specified offset reset policy, it consumed from the beginning



--
This message was sent by Atlassian Jira
(v8.3.4#803005)