Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RRIO] [Throttle] [Cache] Implement Throttle and Cache using an external resource. #29401

Merged
merged 8 commits into from
Nov 22, 2023

Conversation

damondouglas
Copy link
Contributor

@damondouglas damondouglas commented Nov 11, 2023

This PR closes #28932 , closes #28924, closes #28922, closes #28908, closes #28907 implementing all transforms that utilize an external resource. This PR is able to close many issues as it was realized that much can be implemented reusing the existing Call PTransform.


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.

@damondouglas damondouglas marked this pull request as ready for review November 13, 2023 22:27
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @m-trieu for label java.
R: @ahmedabu98 for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@damondouglas damondouglas removed the request for review from ahmedabu98 November 13, 2023 23:01
@damondouglas
Copy link
Contributor Author

R: @m-trieu

@Abacn Abacn self-requested a review November 14, 2023 23:25
Copy link
Contributor

@Abacn Abacn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. First set of comments, not yet go through tests

Copy link
Contributor

@m-trieu m-trieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think @NonNull is needed everywhere, just need to mark when nullable with annotation or option type.

@damondouglas
Copy link
Contributor Author

Thank you @Abacn and @m-trieu for your really helpful comments and callouts. I really appreciate it.

Copy link
Contributor

@Abacn Abacn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, also went through the tests. LGTM when previous two comments (static member; teardown) resolved

@damondouglas damondouglas merged commit 1e06d88 into apache:master Nov 22, 2023
21 checks passed
@damondouglas damondouglas deleted the rrio-cache-related branch November 22, 2023 19:13
Naireen pushed a commit to Naireen/beam that referenced this pull request Jan 3, 2024
…nal resource. (apache#29401)

* WIP: Implement CacheSerializer and providers

* wip

* Condense Throttle into one class

* wip

* Implement Throttle and Cache

* Update javadoc

* Edit per PR comments

* Refacter per PR comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment