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

Change to track partition time breaks TimestampExtractor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.1.2, 2.2.2, 2.4.0, 2.3.1
    • Component/s: streams
    • Labels:
      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

              • Assignee:
                ableegoldman Sophie Blee-Goldman
                Reporter:
                bbejeck Bill Bejeck
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: