-
-
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.
client improvement: retry more when input brokers are invalid
If a user passed two seeds and one is invalid, we can still operate with some degree of success. Previously, we would fail a request immediately if it was attempted on the invalid seed. However, if the next seed is valid, we should be able to recover, eventually load metadata, and always be successful. We will now retry on broker-specific network errors if they are not context related, and if the next broker we would retry on is different.
- Loading branch information
Showing
2 changed files
with
45 additions
and
7 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