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

Revert cancel getmany and add extra seek #256

Merged

Conversation

ekerstens
Copy link
Contributor

@ekerstens ekerstens commented Jan 11, 2022

Description

  • Revert Stop fetching when flow stops #253 because task cancellation did not propagate to the service thread, resulting in orphaned fetchers continuing to fetch without returning to anything.
  • Add extra check to _wait_next_records to make sure flow is actually resumed before continuing
  • Reseek to committed offsets if getmany completes while flow is not active.

@patkivikram patkivikram merged commit a7256eb into faust-streaming:master Jan 11, 2022
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.

2 participants