-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graalvm support for Bolt for Java #1009
Comments
Hi @nikosk686 thanks for writing in! Currently we do not support quarkus native builds, the recommended way uses the jvm approach. To my knowledge this feature has not been brought up by the team, currently there is no timeline to support it. |
@nikosk686 As @WilliamBergamin mentioned, we don't have any timeline for this and our recommendation is to go with the JavaVM builds. |
@nikosk686 Thanks for your 👍 reactions. Since we, this project maintainers, do not have any further actions for this issue in the short term, let us close this issue now. If it is possible to support GraalVM in the future, we may consider working on it. |
Hello! Regarding okhttp and slf4j-api (tried backed by logback) there are not many problems, just a fixed amount of settings for GraalVM, still annoying, but quite a limited scope. With Gson it's different, because of the following reasons:
What do you think about using an approach used in Quarkus, when you explicitly state that some classes need to be registered for reflection? Currently, there is a Lombok's It looks like at a reasonably low cost (by adding the annotation to data transfer objects), it is possible to make GraalVM usage more smooth. |
Hello team! Is there any update on GraalVM support? As @achugr said, there are lots of benefits in running in native mode. |
@achugr @fnobilia, thank you for your comments. Technically, it might already be possible to add GraalVM support in some way, but we don't have plans to work on it in the short term. I understand the benefits of native builds, especially for the use cases you've mentioned. However, we have other priorities to focus on, and the number of GraalVM users seems significantly smaller in comparison to JavaVM users. We may revisit this in the long run depending on the popularity of GraalVM and industry trends, but right now it's not the best timing for us. |
Are there any updates on adding GraalVM support? Thanks |
We currently have no plans for this, and that's expected to remain the same for at least the next few years. |
A bit off-topic, but it's worth mentioning as one of the potential solutions to the problem of slow startups, which are crucial in serverless environments. You could try CRaC. Here's an article about how to configure it. I haven't used CRaC myself yet, but I have tried a native build. In terms of configuration effort, CRaC seems even simpler than a native build, and I hope it will become trivial once it is supported through buildpacks. |
thank you! |
Category
Requirements
I have a small POC where I use Quarkus and
com.slack.api:bolt:1.22.3
.I have managed to build the project and produce a native executable,
I had to add the following configuration
in order to achieve it.
However when I try to execute a call to
MethodsClient.chatPostMessage
I am getting the following errorAre there any plans for supporting native builds any time soon?
Thanks
The text was updated successfully, but these errors were encountered: