-
Notifications
You must be signed in to change notification settings - Fork 139
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
[Idea] pause/resume/stop Stream and remove stopConsumption
#941
Comments
I have never used it, but I see that github offers Discussions. Perhaps we can move this there? |
I guess it follows logically from our discussions because I had the almost the exact same idea. At least you put it in writing! |
Yes, that's the idea.
Not sure to see what you mean. Can you give an example maybe, please? |
This is the reason I started contributing to zio-kafka; during a rebalance we need to stop polling for a stream but let its commits complete (and wait for commit completion). That sounds pretty similar, right? |
It does indeed |
We had some discussion yesterday on Discord about removing
stopConsumption
See:
Found a new idea this morning while taking my shower 😄
I think we could "generalize" the "interruptor" idea.
We could return a "control" interface that'd have 3 methods:
The "Control" interface would be something like:
The text was updated successfully, but these errors were encountered: