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

[issue-12] Implement rate limiting in micro batch reader #164

Merged
merged 22 commits into from
Sep 25, 2023

Conversation

munish1789
Copy link
Contributor

@munish1789 munish1789 commented Aug 10, 2023

Change log description
Implement rate limiting in micro batch reader

Purpose of the change
Fix #12

What the code does
Implements rateLimit feature to read in microbatches.

How to verify it
Start a reader and it should iterate as per the configured rate limit.

Signed-off-by: Munish <[email protected]>
@munish1789 munish1789 requested a review from crazyzhou August 11, 2023 05:21
@munish1789 munish1789 marked this pull request as ready for review August 21, 2023 11:30
Copy link
Contributor

@crazyzhou crazyzhou left a comment

Choose a reason for hiding this comment

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

The code change looks good to me, needs to wait for the Pravega build ready.

@munish1789 munish1789 changed the title getting offset from getNextStreamCut for readlimit [issue-12] Implement rate limiting in micro batch reader Sep 22, 2023
Signed-off-by: Munish <[email protected]>
Copy link

@Bhupender-Y Bhupender-Y left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@crazyzhou crazyzhou left a comment

Choose a reason for hiding this comment

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

Overall looks good, it needs to merge after #168

Signed-off-by: Munish <[email protected]>
Copy link
Contributor

@crazyzhou crazyzhou left a comment

Choose a reason for hiding this comment

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

LGTM

@crazyzhou crazyzhou merged commit fe5a25a into pravega:master Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement rate limiting in micro batch reader
5 participants