Skip to content
New issue

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

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

Already on GitHub? # to your account

Adding onNext in RetryListener #230

Open
MFomichev opened this issue Jan 26, 2021 · 1 comment
Open

Adding onNext in RetryListener #230

MFomichev opened this issue Jan 26, 2021 · 1 comment

Comments

@MFomichev
Copy link

I would like to have the opportunity to listen an event before each retry (including the first one) would be happend in order to add some information to MDC (retry number). I can do it by onError, however that does not represent the actual scenario.

If you do not mind about this functionality, then I will be happy to provide PR.

@dsyer dsyer changed the title Additing onNext in RetryListener Adding onNext in RetryListener Jun 14, 2021
@dsyer
Copy link
Member

dsyer commented Jun 14, 2021

You could just use the existing methods for this, I guess, but you just want a neater way to do it as a one liner?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants