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.
consumer groups: ensure deadline is set on broker interactions (segme…
…ntio#509) Since the Conn does not have a timeout by default, it's possible for a connection to hang if the remote side crashes before responding. This PR ensures that every interaction with the broker has a deadline so that the consumer group won't get stuck if the coordinator goes down.
- Loading branch information
Steve van Loben Sels
authored
Sep 14, 2020
1 parent
ff55ecc
commit b9217e4
Showing
2 changed files
with
108 additions
and
13 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