Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1351

Separate Watermark Implementation from Propagation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.14.0
    • 0.14.0
    • None
    • None

    Description

      Based on Chris's feedback, I need to separate watermark implementation with propagation mechanism. Here is the feedback:

      • I expected Watermark just to be a value object but that doesn't agree with the propagate method, which looks out of place. As a user I should be able to set an arbitrary watermark. This method suggests that I must first receive a watermark then copy it. If we have the former, this looks to be unnecessary.
      • We seem to be mixing two ideas here... the watermark itself with its mechanism for propagation. It would be cleaner to provide these at the fluent API level (this is how flink works) and to do the right default operation for typical operations. Ultimately the user needs to be able to override this behavior though and I'm not seeing that capability so far in the design.

      Attachments

        Issue Links

          Activity

            People

              xinyu Xinyu Liu
              xinyu Xinyu Liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: