-
Notifications
You must be signed in to change notification settings - Fork 63
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 reactive support #289
Comments
@jroper ^^^ |
pre-reqs #110 :-) |
When one has a microservice that is not fully reactive and one wishes to plumb it upstream into #1 traditional ----> mpFT(reactive) |
OK, here is a strawman to ellicit comment. We are trying to help solve two problems that might exist in JEE/Microprofile systems over the next few years: 1 - Improve the ease of plumbing between reactive components and non-reactive components |
Use cases: A call to the method that is being mapped to onNext (it could ethier be "onNext" if the bean is a Subscriber or annotated to be Any call to the onNext method, via a signatire match or class or method annotation, will initiate FT to generate a synthetic equivalent of a reactive streams Producer instance if that does not exist, and 'subscribe' to it using the FT proxy of the underlying Subscriber bean. A call to the method will be passed on if there is 'request' capacity - equivalent to if there is If the [To BE DISCUSSED] |
#UC2 Is plugging a reactive upstream component into a non-reactive downstream component with FT semantics (e.g. bulkhead size/queue length) used to control the 'request' of data flow. It may improve system performance to have a 'target queue length' to keep some requests 'in hand' to go into the |
Fault Tolerance
@Asynchronous
has a means of queueing and hooks that control managed execution.I would be a natural follow on to add a feature where we submit work in response to
org.reactivestreams.Subscription.request(long n)
to support https://github.com/eclipse/microprofile-reactive.
It could perhaps have a specced way of handling too much back pressure.
This might usefully serve as an 'adapter' to make upstream function 'more' reactive
using FT semantics.
This issue can be a place to discuss this support.
The text was updated successfully, but these errors were encountered: