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
@Retry shouldn't trigger Uni publisher #19924
Comments
@Retry logic probably should use |
/cc @Ladicek |
Fault Tolerance converts everything to |
Also CC @cescoffier @jponge in case they can advise how to use SmallRye Reactive Converters properly :-) |
Where is the code handling this in FT? |
This is fixed in SmallRye Fault Tolerance 5.3.0, where reactive types support was refactored (dropped the dependency on SmallRye Reactive Converters, implemented our own conversion facility that supports lazy conversion). |
Describe the bug
The test prints "xxxxx", seems @Retry logic subscribes to the Uni publisher, this breaks time order:
Expected behavior
The
retry
uni doesn't take any effect, no output.Actual behavior
The test outputs "xxxxx".
How to Reproduce?
Run the unit test.
Output of
uname -a
orver
Darwin xxx.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
Client Version 2.2.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Additional information
No response
The text was updated successfully, but these errors were encountered: