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

Forwarding modified timestamps does not reset timestamp correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1, 2.2.0, 2.1.1
    • 2.2.0, 2.0.2, 2.1.2
    • streams
    • None

    Description

      Using Processor API, users can set a new output record timestamp via `context.forward(..., To.all().withTimestamp(...))`. However, after the forward()-call returns, the timestamp is not reset to the original input record timestamp and thus a consecutive call to `context.forward(...)` without `To` will use the newly set output record timestamp from before, too.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mjsax Matthias J. Sax
            mjsax Matthias J. Sax
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment