The Java support on Azure Functions comes with defaults for JAVA_OPTS settings, as well different behavior when the function runs on a Consumption plan versus a Dedicated/Premium plan.
// @pragnagopa
@brunoborges Please help with the link of document on which above document feedback request is created. In case your query in not related to document content, open a new forum thread in MSDN forum or Stack Overflow as it could be better place to get help on your scenario. These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.
cc @jeffhollan @asavaritayal @ggailey777
This is tracking issue to update Azure Java Functions doc: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-java-maven?toc=%2Fen-us%2Fjava%2Fapi%2Fazure-java-sdk%2Ftoc.json&bc=%2Fen-us%2Fjava%2Fbreadcrumb%2Ftoc.json
to include instructions on how to set JAVA_OPTS
@pragnagopa it seems unlikely that we would want document this in the Java quickstart. Probably something should be added instead to the Java developer guide. Can you add a section on this and I will review your addition, or provide me the info and I can add it for you.
I agree with @ggailey777 .
sure @ggailey777 ! Here is the content: https://github.com/Azure/azure-functions-java-worker/wiki/How-to-set-JAVA_OPTS-to-customize-JVM-options-on-Azure-Functions
@brunoborges Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.
@SumanthMarigowda-MSFT you should talk to @pragnagopa. The way Azure Functions reads JAVA_OPTS is documented in the wiki of the GitHub repository. I don't think the wiki is the right place to document this. It should be somewhere in docs.microsoft.com.
@brunoborges totally agree. We will add this info to the Java developer guide article. I have opened a work item in our internal DevOps database to track this requirement (#1527331).
@ggailey777 - Let me know if you need anything else from me.