-
Notifications
You must be signed in to change notification settings - Fork 319
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
Add Native Image Support in Spring Framework on Google Cloud #1565
Comments
Is there any plans or timelines for you guys to work on this issue? |
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
+1 |
Would be nice wrt cloud run / cloud functions |
stuck in this issue, we where making a work around using the gcp rest api via feign but it´s a lot of work and future manteniance |
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi everyone, Thanks for showing interest in this feature. we are planning to take up this work soon and will keep you updated about the progress. |
Native compilation worked fine with Spring Boot 3 and spring-cloud-gcp-dependencies 3.4.0 |
It doesn't with the latest version at spring-cloud-gcp-dependencies 4.1.1 |
@jainsahab moreover, Native execution is all the more important as it allows us to mitigate the cold start of Cloud Run running Spring Boot (this is my case) |
This comment was marked as duplicate.
This comment was marked as duplicate.
any update on here? |
Thank you for the interest. We don't have an ETA on this feature yet. |
I think I found the reason why in versions 4.x.x it stopped working - it's related to #1287 (upgrade to Spring boot 3.0.0). Line 523 in 4a1d4ec
Because of the wrong artifact id, the configuration cannot be applied.
Unfortunately, I couldn't make it work because of errorprone plugin configuration:
If I remove these 2 flags, the project builds fine:
Could you try if it works for you with the fix? Maybe it's just my local setup that causes issues with errorprone. |
#1775 resolves the above compiler profile and ErrorProne configuration issues highlighted by @pkutlunin . These fixes are now available in Spring Cloud GCP 4.3.0. |
We do not plan to support Native Image in Spring Framework on Google Cloud 4.x. Initial Native Image support is available in Spring Framework on Google Cloud 5.x. |
While Spring Framework on Google Cloud 4.x adds compatibility for Spring Boot 3.0, we don't currently have support for native image compilation. This issue serves as an umbrella tracker to report on the status of this support in the repository.
Related Issues:
The text was updated successfully, but these errors were encountered: