Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8537

Provide WatermarkEstimatorProvider for different types of WatermarkEstimator

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-py-core, sdk-py-harness
    • Labels:
      None

      Description

      This is a follow up for in-progress PR: https://github.com/apache/beam/pull/9794.
      Current implementation in PR9794 provides a default implementation of WatermarkEstimator. For further work, we want to let WatermarkEstimator to be a pure Interface. We'll provide a WatermarkEstimatorProvider to be able to create a custom WatermarkEstimator per windowed value. It should be similar to how we track restriction for SDF:
      WatermarkEstimator <---> RestrictionTracker
      WatermarkEstimatorProvider <---> RestrictionTrackerProvider
      WatermarkEstimatorParam <---> RestrictionDoFnParam

        Attachments

          Activity

            People

            • Assignee:
              boyuanz Boyuan Zhang
              Reporter:
              boyuanz Boyuan Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: