You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, this implementation, for example, does not work as expected, as the result is not yet resolved.
This could probably be resolved by detecting the Mono and resolving it during block() execution, but I assume other parts of the lib also need adjustments.
Thank you.
The text was updated successfully, but these errors were encountered:
malaquf
changed the title
CircuitBreaker incompatible with SpringBoot 3.2 + kotlin suspend functions
CircuitBreaker incompatible with SpringBoot 3.2 + Kotlin suspend functions
Mar 25, 2024
Resilience4j version: 2.2.0
Hello!
On this commit, Spring introduced support for AOP with Kotlin coroutines.
In this case, if it detects a kotlin suspend function, it wraps the execution in a Mono.
As a result, this implementation, for example, does not work as expected, as the result is not yet resolved.
This could probably be resolved by detecting the Mono and resolving it during block() execution, but I assume other parts of the lib also need adjustments.
Thank you.
The text was updated successfully, but these errors were encountered: