Replies: 8 comments 4 replies
-
Wdym new extension? Something specific you are referring to? |
Beta Was this translation helpful? Give feedback.
-
quarkus-azure-functions-http extension is a bridge to use Resteasy, Vert.x Web, Servlet, or our Spring MVC layer with azure functions. The quarkus-azure-functions extension allows you to use quarkus and azure functions directly with any azure function trigger type. The function class will be a CDI bean and you can use things like @Inject. Quarkus will also boot automatically. Does that answer your question? You'd have to explain more why you think the quarkus-azure-functions extension doesn't work with service bus. Are you using @ServiceBusQueueTrigger or TopicTrigger? |
Beta Was this translation helpful? Give feedback.
-
Hello @patriot1burke, @maxandersen, i solved my problem and now everything is working properly, making the fat jar solved the problem. If you want i can create a document with example and readme with details, how it works and how it should be done, so when others try to do this, they do not experience same problems i did? |
Beta Was this translation helpful? Give feedback.
-
Hmmm, the extension is supposed to enforce a legacy thin-jar deployment which should work. |
Beta Was this translation helpful? Give feedback.
-
I'd rather fix the extension to package things up properly. |
Beta Was this translation helpful? Give feedback.
-
yeah, that is probably better and nicer way. But i don't think that problem is in quarkus-azure-functions extensions, maybe in some layer when building, i don't know how quarkus building tasks are made(if i am naming it corectly), but maybe something can be changed there. Or you can try and test again, i said that in my project even http trigger didn't work, and you gave a working example of http trigger, so maybe it is about some specific property or something that changes things. As i said in some of my previous comments, documentation is not on level it should be, so if there is something that needs to be set or works in a specific way, you can update and give better docs, but if you test it and it doesn't work, than problem is problably with how azure works and what kind of jar needs to be. Hope you understood what i wanted to say, as i said, i can help you in terms of giving my example and problems i enroled while trying every single thing and property and this finaly did the trick. |
Beta Was this translation helpful? Give feedback.
-
Could you post the pom.xml you had problems building/deploying with before you force a fat jar? |
Beta Was this translation helpful? Give feedback.
-
Hello @patriot1burke , @maxandersen , i want to inform you that problem wasn't because of fat jar, what actually made the difference is -runner sufix that is created automatically on jar file in Quarkus 2. I have been testing out Service Bus triggers, and HTTP triggers with Quarkus 2 and Quarkus 3 releases. Locally there weren't any problems with both versions, but when i deployed my function to Azure (i am using Azure Pipelines), with Quarkus 2, everything is ok, but when i used Quarkus 3, i couldn't actually trigger (execute) the function, since for every trigger i made, i kept getting ClassNotFoundException. Note that only thing that was changed is only the version of Quarkus, nothing else in code and project itself. Deploy is indeed successful, and i can see in portal both my function and its associated files, but when it comes to execution of Function it fails. Have you tried deployment of Azure Functions with Quarkus 3 yourselves on Azure Portal? Do you maybe have any idea or solution for this? Hope to hear from you soon! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How does exactly new extension work, since i am still not able to work with Service Bus triggers in 3.0.0.CR2 , is full functionality expected in 3.0.0.Final version and then we can use Service bus triggers in quarkus?
Beta Was this translation helpful? Give feedback.
All reactions