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

fix: use Source.unfoldResource of source for Querying [scala] #199

Merged
merged 2 commits into from
Mar 4, 2021

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Feb 9, 2021

Closes #198

Proposed Changes

The Backpressure with previous implementation didn't works. The our API didn't supports a QueueOfferResult that is result of offer() so the API wasn't be able to slowdown producing of results.

Instead of complicated implementation of QueueOfferResult (see example) we just switch to Source.unfoldResource.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • mvn test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@bednar bednar marked this pull request as ready for review February 9, 2021 13:25
@bednar bednar requested a review from rhajek February 9, 2021 13:25
@bednar bednar force-pushed the fix/query-scala branch from 8626f03 to c95f89e Compare March 4, 2021 08:40
@bednar bednar merged commit 6ef5e63 into master Mar 4, 2021
@bednar bednar deleted the fix/query-scala branch March 4, 2021 13:42
@bednar bednar added this to the 2.0.0 milestone Mar 4, 2021
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.

Any file operation stops after one buffer
2 participants