Skip to content

[#32211] Support OnWindowExpiration in Prism.#33337

Merged
lostluck merged 9 commits intoapache:masterfrom
lostluck:onWindowExpiry
Dec 12, 2024
Merged

[#32211] Support OnWindowExpiration in Prism.#33337
lostluck merged 9 commits intoapache:masterfrom
lostluck:onWindowExpiry

Conversation

@lostluck
Copy link
Copy Markdown
Contributor

@lostluck lostluck commented Dec 9, 2024

  • Adds tracking for keys used within a window, so the OnWindowExpiration callback can be invoked.
  • Restricts the output watermark from advancing until a window's been garbage collected and all keys have been expired.
  • Added a "side channel" mechanism to insert bundles for execution outside of normal execution flow.
    • This may ultimately be used for ProcessingTime timers, as well as for Triggers/
  • Supports OnWindowExpiration, enabling initial GroupIntoBatches support.

Fixes #32211


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[prism] Support OnWindowExpiry

2 participants