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

Follow up to #1979 to avoid retryWhen ambiguity #2079

Merged
merged 7 commits into from Mar 19, 2020
Merged

Conversation

simonbasle
Copy link
Member

@simonbasle simonbasle commented Mar 19, 2020

TODO: marble diagrams for the various Retry factories

@simonbasle simonbasle added this to the 3.3.4.RELEASE milestone Mar 19, 2020
* @return the actual companion to use, which might delay or limit retry attempts
*/
Publisher<?> generateCompanion(Flux<RetrySignal> retrySignalCompanion);
public abstract Publisher<?> generateCompanion(Flux<RetrySignal> retrySignals);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in an abstract class, you may want to have a final method that wraps the user-provided one, so that we keep some control. Usually it makes it easier to make changes in future

@simonbasle simonbasle merged commit 4e39d88 into master Mar 19, 2020
@simonbasle simonbasle deleted the retrySpecFollowUp branch March 19, 2020 18:59
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.

None yet

3 participants