We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dfd276 commit ccf5d3dCopy full SHA for ccf5d3d
resilience4j-reactor/src/main/java/io/github/resilience4j/reactor/AbstractSubscriber.java
@@ -18,6 +18,7 @@
18
import org.reactivestreams.Subscription;
19
import reactor.core.CoreSubscriber;
20
import reactor.core.publisher.BaseSubscriber;
21
+import reactor.util.context.Context;
22
23
/**
24
* Heavily inspired by {@link reactor.core.publisher.BaseSubscriber}
@@ -42,6 +43,11 @@ protected void hookOnSubscribe(Subscription subscription){
42
43
downstreamSubscriber.onSubscribe(this);
44
}
45
46
+ @Override
47
+ public Context currentContext() {
48
+ return downstreamSubscriber.currentContext();
49
+ }
50
+
51
@Override
52
public String toString() {
53
return getClass().getSimpleName();
0 commit comments