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

Introduce onErrorContinue to Mono #1458

Closed
smaldini opened this issue Dec 5, 2018 · 0 comments · Fixed by #1465
Closed

Introduce onErrorContinue to Mono #1458

smaldini opened this issue Dec 5, 2018 · 0 comments · Fixed by #1465
Labels
type/enhancement A general enhancement
Milestone

Comments

@smaldini
Copy link
Contributor

smaldini commented Dec 5, 2018

Interestingly we might need onErrorContinue on Mono since Flux operations themselves produce Mono (collect, next..).

I was discussing with a user who did use an API (CF Java Client) that internally was operating a flux and returned to the user a collected view. Unfortunately the CF Java Client map operation used was producing rare NPE and the user wanted to filter these anomalies instead of fully retrying or interrupting the flow. Since the user had a mono he did workaround this way:

 monoApi.flux()
             .onErrorContinue(Xxxx.class, xxx)
            .next()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant