-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Support for RxJava version 2.x #1457
Comments
Nothing ongoing at the moment |
Does this mean that if we want to use RxJava 2.x we should implement our own solution for circuit breakers and fault tolerance? |
If you wanted to use Hystrix as-is, then you would need to do the following:
There should be no practical problem with Hystrix and RxJava 2.x co-existing. |
So doing something like the following is the recommended approach? public Flowable<Long> doSomething() {
return Flowable.defer(() ->
Flowable.create(e -> new SomeHystrixCommand()
.observe()
.subscribe(e::onNext,
e::onError,
e::onComplete),
BackpressureStrategy.ERROR // or whatever backpressure strategy you want
)
);
}
@mattrjacobs is that answer still up to date? |
Whilst we're waiting for Hystrix to catch up, we can use the excellent RxJavaInterop library to convert to the RxJava2 API, e.g.
|
rxjava-1 is officially EOL > https://github.com/ReactiveX/RxJava/releases/tag/v1.3.8 I don't specifically need rxjava2. My primary concern is that this library is now locked into a dependency that will no longer be capable of taking bug fixes. |
Is there any update on this . Are there any plans to upgrade Rx version inside Hystrix. |
I guess we'll have to fork it/update it to rxjava2. If netflix is still running rxjava1 across all of their stack, I see how this is not a priority for them. |
Any Idea when we can expect this |
I would guess never based on the current status of this project.
|
Apologies but to understand this better and i can communicate the same .
|
RxJava 1.x will reach it's end of life at the end of March 2018 and feature freeze in June 2017. Are there any plans upgrading Hystrix to use RxJava 2.x?
The text was updated successfully, but these errors were encountered: