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 17:07:00 UTC

[jira] [Commented] (KAFKA-10862) kafka stream consume from the earliest by default

    [ https://issues.apache.org/jira/browse/KAFKA-10862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251209#comment-17251209 ] 

Yuexi Liu commented on KAFKA-10862:
-----------------------------------

got it, thank you so much for reply :)

> kafka 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)