Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10862

kafka stream consume from the earliest by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 2.3.1
    • None
    • config, consumer
    • None
    • MAC

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            rebekkaxi Yuexi Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: