question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spring Native support

See original GitHub issue

Spring Native has announced its beta release: https://spring.io/blog/2021/03/11/announcing-spring-native-beta

There is support for it at start.spring.io, but using it with GCP Support returns a project with its HELP.md saying The following dependency is not known to work with Spring Native: 'GCP Support'. As a result, your application may not work as expected.

Native Image support is very interesting for us, especially for our deployments to GKE and Cloud Run.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dzoucommented, May 24, 2021

@joeyslalom – Thanks for sharing your findings, this is very helpful. Sorry I’ve been delayed from doing this, we’ve been prioritizing just getting the base GCP client libraries and will move onto supporting Spring Cloud GCP soon. Adding the autoconfigurations for example is something we’ll add on our end so you won’t need to add your own native hints.

Regarding google-cloud-graalvm-support, I think you may need to add this eventually when you begin to interact with the Datastore client and start reading/writing documents.

Great to hear that you were able to get something working.

1reaction
meltsufincommented, Mar 12, 2021

@dzou We’re working on general GraalVM Native Image support for GCP here: https://github.com/GoogleCloudPlatform/google-cloud-graalvm-support

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Native documentation
Spring Native provides support for compiling Spring applications to native executables using the GraalVM native-image compiler.
Read more >
Native Images with Spring Boot and GraalVM - Baeldung
Learn how to use Spring Native to compile and build native images using ... It is officially supported by the Spring Boot Maven...
Read more >
Spring Native is now superseded by Spring Boot 3 ... - GitHub
Spring Native provides beta support for compiling Spring applications to native executables using GraalVM native-image compiler, in order to provide a native ......
Read more >
Go Native with Spring Boot and GraalVM - InfoQ
Spring Native transforms the source code sent to Native Image. For instance, Spring Native turns the spring.factories service-loader mechanism ...
Read more >
Build a Spring Boot Application into a Native Executable
Spring Native project provides support for compiling Spring applications ahead-of-time using GraalVM Native Image and eventually packaging them into ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found