AWS Lambda + Mutiny + Thread blocked #31768
Unanswered
cthiebault
asked this question in
Q&A
Replies: 2 comments 2 replies
-
/cc @cescoffier (mutiny), @evanchooly (kotlin), @geoand (kotlin), @jponge (mutiny), @matejvasek (amazon-lambda), @patriot1burke (amazon-lambda) |
Beta Was this translation helpful? Give feedback.
0 replies
-
It looks like the method is called on the event loop. That's a bit surprising as the method has a synchronous signature. Can you tell us more about your setup? Providing a simple reproducer would be awesome! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm migrating my Quarkus Lambda (triggered by SQS events) to Quarkus + Mutiny Lambda.
My function is calling an external web service and then processing the response. I wait indefinitely as the lambda has already a timeout defined.
But since I'm using Mutiny (with Vertx WebClient), I get
Thread blocked
exceptions...I'm new to reactive programming but if I understand well, the main thread is waiting for the Uni to be completed... so it's normal that this thread is blocked, right?
Thanks for helping me to better understand what is happening :-)
Beta Was this translation helpful? Give feedback.
All reactions