Replies: 1 comment
-
Another option could be to not generate the Quarkus Main in the jar when quarkus-azure-functions-http is present, especially if it's broken. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi,
Don't know if this is expected behaviour but I lost a lot of time investigating this, so I thought it was best to report this.
I'm developing a small Quarkus demo app which should be deployed as an Azure function. Nothing fancy, just a RESTeasy Jackson API. Initially, without adding the Azure extension, the app runs fine locally, both in dev mode and as an uber jar.
But when I include the Azure extension, dev mode still works but as a jar, it doesn't start listening on its port. Looking at the debug log, I can see vert.x event loop activity in dev mode (an event loop thread is doing its work), but when the jar is used, there is no listener and everything is handled by the main thread.
I'm aware that the ultimate goal is to deploy it to Azure and if it works there, it should be ok, but I would still expect that the jar works locally as well, no?
Beta Was this translation helpful? Give feedback.
All reactions