Skip to content

Stream graceful shutdown #53

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rukolahasser
Copy link

Add drain_and_stop() to gracefully shut down stream.

@rukolahasser rukolahasser changed the title stream graceful shutdown Stream graceful shutdown Dec 27, 2024
@SozinM
Copy link
Contributor

SozinM commented Jan 8, 2025

Looks good IMO, @JasoonS

@JasoonS
Copy link
Contributor

JasoonS commented Jan 14, 2025

We will need to propagate this change to the stream function and similar places - other-than-that this looks good! Thanks!

Another thing I'm thinking about is it would be really nice if the user were to immediately receive the expected end block of the range that will be scanned when it is drained.

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.

3 participants