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:11:00 UTC

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

Yuexi Liu created KAFKA-10862:
---------------------------------

             Summary: 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


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



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