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

Change to track partition time breaks TimestampExtractor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.1.2, 2.2.2, 2.4.0, 2.3.1
    • streams
    • None

    Description

      From the users mailing list, UPDATED by Jonathan Santilli:

      Am testing the new version 2.3 for Kafka Streams specifically. I have noticed that now, the implementation of the method extract from the
      interface org.apache.kafka.streams.processor.TimestampExtractor:
      
      public class OwnTimeExtractor implements TimestampExtractor {
      
          @Override
          public long extract(final ConsumerRecord<Object, Object> record, final long previousTimestamp) {
              // previousTimestamp is always == -1. For version 2.3
          }
      }
      
      Previous version 2.2.1 was returning the correct value for the record partition.
      

      Attachments

        Issue Links

          Activity

            People

              ableegoldman A. Sophie Blee-Goldman
              bbejeck Bill Bejeck
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: