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

Provide WatermarkEstimatorProvider for different types of WatermarkEstimator

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.20.0
    • sdk-py-core, sdk-py-harness
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 19h 10m
                19h 10m