-
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consuming: close fetch sessions when closing the client
We allow 1s to send a final empty fetch request indicating that the fetch session should be closed. This also fixes the previous direct-consumer path that allowed consuming to continue while the client was shutting down, which could potentially result in a spurious context.Canceled rather than ErrClientClosed error. Closes #349.
- Loading branch information
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters