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

Consider renaming `UsePreviousTimeOnInvalidTimestamp` timestamp extractor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.5.0
    • streams

    Description

      Kafka Streams ships couple of different timestamp extractors, one named `UsePreviousTimeOnInvalidTimestamp`.

      Given the latest improvements with regard to time tracking, it seems appropriate to rename this class to `UsePartitionTimeOnInvalidTimestamp`, as we know have fixed definition of partition time, and also pass in partition time into the `#extract(...)` method, instead of some non-well-defined "previous timestamp".

      KIP-530: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=130028807

      Attachments

        Issue Links

          Activity

            People

              rabikumar.kc Rabi Kumar K C
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: