Skip to content

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

Merged
bednar merged 2 commits intomasterfrom
fix/query-scala
Mar 4, 2021
Merged

fix: use Source.unfoldResource of source for Querying [scala]#199
bednar merged 2 commits intomasterfrom
fix/query-scala

Conversation

@bednar
Copy link
Copy Markdown
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