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

Report total backlog in unbounded source sdf wrapper #34420

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stankiewicz
Copy link
Contributor

unbounded source sdf wrapper had only reported per split backlog which is limiting reporting for some of the IOs like JMS.

with this change Total Backlog Bytes is being pulled for first split, similarly to v1 implementation.

@github-actions github-actions bot added the java label Mar 25, 2025
Comment on lines 721 to 722

public abstract @Nullable Integer getKey();
Copy link
Contributor

Choose a reason for hiding this comment

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

When I was tinkering with this I had put this down as byte[] or ByteString in case sub-splitting a split is ever added. The root split starts out with an empty byte blob (for a single root) or a varint encoded index (for multiple roots) and the id of a split would be composed of the parent split id and another varint encoded index (constructed when looping over the result of #split()) appended/prepended.

It's entirely unnecessary to model it like that today though and an integer should suffice. :)

@stankiewicz stankiewicz changed the title [wip] Report total backlog in unbounded source sdf wrapper Report total backlog in unbounded source sdf wrapper Mar 26, 2025
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@stankiewicz
Copy link
Contributor Author

Run Java_Examples_Dataflow_Java21 PreCommit

@stankiewicz
Copy link
Contributor Author

Run Java_Amazon-Web-Services2_IO_Direct PreCommit

@stankiewicz
Copy link
Contributor Author

Run Java PreCommit

@stankiewicz
Copy link
Contributor Author

Run Java_Examples_Dataflow_Java21 PreCommit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants