-
Notifications
You must be signed in to change notification settings - Fork 17
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
[issue-12] Implement rate limiting in micro batch reader #164
Conversation
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
src/main/scala/io/pravega/connectors/spark/PravegaMicroBatchStream.scala
Outdated
Show resolved
Hide resolved
src/main/scala/io/pravega/connectors/spark/PravegaMicroBatchStream.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Munish <[email protected]>
src/main/scala/io/pravega/connectors/spark/PravegaSourceProvider.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Munish <[email protected]>
src/main/scala/io/pravega/connectors/spark/PravegaMicroBatchStream.scala
Outdated
Show resolved
Hide resolved
src/main/scala/io/pravega/connectors/spark/PravegaSourceProvider.scala
Outdated
Show resolved
Hide resolved
src/test/scala/io/pravega/connectors/spark/PravegaMicroBatchSourceSuite.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
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.
The code change looks good to me, needs to wait for the Pravega build ready.
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
src/main/scala/io/pravega/connectors/spark/PravegaMicroBatchStream.scala
Show resolved
Hide resolved
src/main/scala/io/pravega/connectors/spark/PravegaBatchPartitionReader.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
src/main/scala/io/pravega/connectors/spark/PravegaBatchPartitionReader.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
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.
LGTM
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.
Overall looks good, it needs to merge after #168
src/main/scala/io/pravega/connectors/spark/PravegaMicroBatchStream.scala
Show resolved
Hide resolved
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
Signed-off-by: Munish <[email protected]>
src/main/scala/io/pravega/connectors/spark/PravegaBatchPartitionReader.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Munish <[email protected]>
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.
LGTM
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.