-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
errors: make dial errors non-retriable
Although we can continue retrying dialing a lot of the time, dial errors outright are often not retriable. We split dial errors from isRetriableBrokerErr. We now: - fail quicker in client.Request for dial errors - update metadata if producing fails due to dial errors We continue: - to swallow dial errors when consuming on epoch / list load errors - to swallow dial errors when AddPartitionsToTxn fails
- Loading branch information
Showing
3 changed files
with
17 additions
and
8 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
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