-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-12634] JmsIO auto scaling feature #15464
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
Conversation
- Provide DefaultAutoscaler implementation - Add new autoscaler field to JmsIO
|
R: @lukecwik |
|
retest this please |
lukecwik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wrong in suggesting adding the getSplitBacklogBytes because we would need to expose a way for the autoscaler to know the current split which I believe will add a bunch of complexity to the current implementation that we don't want. So let's drop for now and then if it becomes needed it can be re-added.
Other then that just changes to comments.
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/AutoScaler.java
Outdated
Show resolved
Hide resolved
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/AutoScaler.java
Outdated
Show resolved
Hide resolved
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/AutoScaler.java
Show resolved
Hide resolved
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/AutoScaler.java
Outdated
Show resolved
Hide resolved
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/AutoScaler.java
Show resolved
Hide resolved
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/AutoScaler.java
Show resolved
Hide resolved
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/DefaultAutoscaler.java
Outdated
Show resolved
Hide resolved
- Delete getSplitBacklogBytes method - Add new comments Co-authored-by: Lukasz Cwik <lcwik@google.com>
|
what's the status of ths PR? : ) |
Hello, the PR has been reviewed by @lukecwik and changes made accordingly :-) |
sdks/java/io/jms/src/main/java/org/apache/beam/sdk/io/jms/AutoScaler.java
Outdated
Show resolved
Hide resolved
|
Run Java PreCommit |
Add autoscaling feature to JmsIO connector:
Provide a generic AutoScaler interface with the ability to implement getTotalbacklogBytes or/and getSplitBacklogBytes,
Provide a DefaultAutoScaler implementation (returning BACKLOG_UNKNOWN in both case),
add a new withAutoScaler configuration method to inject a custom auto scaler
https://issues.apache.org/jira/browse/BEAM-12634
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
ValidatesRunnercompliance status (on master branch)Examples testing status on various runners
Post-Commit SDK/Transform Integration Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.