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
GH-3740: Fix HandlerAdapter to detect Kotlin suspend functions
Fixes: #3740
Issue link: #3740
Even if Kotlin `suspend` functions are called properly, the acknowledgement is not called
because this kind of method is not treated as an `asyncReplies` mode
* Fix `HandlerAdapter` to check for `KotlinDetector.isSuspendingFunction()`
in addition to `CompletableFuture` & `Mono`
* Adjust `EnableKafkaKotlinCoroutinesTests.kt` to verify that `acknowledgement` has been called
by the Framework
# Conflicts:
# spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/HandlerAdapter.java
(cherry picked from commit 914cf62)
0 commit comments