[BUG] EventHubsTemplate#sendAsync is not real async because of block()
#31358
Labels
azure-spring
All azure-spring related issues
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
Milestone
Describe the bug
In my understanding, async method should not contains
Mono.block()
. But current EventHubsTemplate#sendAsync() method's implementation contains 2Mono.block()
s.Here is the screenshot of related code:
Code Snippet
Expected behavior
No
block()
inEventHubsTemplate#sendAsync()
The text was updated successfully, but these errors were encountered: