-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improved support for data consistency on error conditions #435
Comments
To break down in separate issues (the possible breaking change especially) |
Worth looking at Akka Streams deals with this: http://doc.akka.io/docs/akka/current/scala/stream/stream-error.html I don't see a strategy that permits user-defined local handling though, only stop (default behaviour in reactor/rxJava also) and drop/continue strategies which would appear to use null local error handler to drop failed signal and leave stream un affected. |
Initial internals have started the preparation and task will continue if possible post RC1. |
closing this due to inactivity. the only remaining open question is probably point 3 "see if there is a way to apply delayError behaviour in a cross-cutting way without needing to configure each and every operator" |
Right now
onError()
downstream meanscancel()
upstream andcancel()
upstream means drop anything in flight in memory in internal queues in operators e.g. parallel, publishOn etc. While flatMap hasdelayErrors
support, a typical use case will also use other operators.In order to fully meet these requirements, reactor needs a way(s) to allow the user to opt for memory-consistency in all operators, ideally in a cross-cutting way and no per-component (if possible). Some of this work may be able to be done in 3.0.6, other will need to wait for 3.1.
This is a summary of the items discussed via gitter, to break out into separate issues as required:
The text was updated successfully, but these errors were encountered: