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

Consider renaming `UsePreviousTimeOnInvalidTimestamp` timestamp extractor

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: streams
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: