forked from segmentio/kafka-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use RequestTimedOut on empty batch instead of errShortRead (segmentio…
…#315) This should better capture the spirit of the empty batch by surfacing the error code that indicates the broker wasn't able to return new messages before the max wait time passes.
- Loading branch information
Steve van Loben Sels
authored
Jul 22, 2019
1 parent
ad7818b
commit c98551b
Showing
2 changed files
with
3 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