Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try a different producer in the pool on error #6

Merged
merged 2 commits into from
Nov 5, 2019
Merged

Conversation

prep
Copy link
Owner

@prep prep commented Nov 5, 2019

This PR makes a call to Put() on a ProducerPool{} try the other producers in the pool before returning an error, if the error is anything other than ErrDisconnected.

@prep prep merged commit 436b9df into master Nov 5, 2019
@prep prep deleted the retry-put-on-error branch April 12, 2020 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant