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

Kafka stream job does not commit offset when packets are getting ignored intentionally

    XMLWordPrintableJSON

Details

    Description

      Hi,

      We are using kafka stream to consume messages from one kafka topic.

      Due to some business logic, we ignore all the packets before 8am by returning -1L from CustomTimestampExtractor for all such packets.

      We start consuming all the packets after 8am.

      Everything is running fine, but consumer lag on my consumer group before 8am keeps increasing and goes to 0 after 8am.

      commit.interval.ms=1000 commit interval is set to 1s

      Attachments

        Issue Links

          Activity

            People

              mjsax Matthias J. Sax
              manish12121 Manish Kumar Sinha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: