spring-attic / spring-native

Spring Native is now superseded by Spring Boot 3 official native support
https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html
Apache License 2.0
2.74k stars 356 forks source link

upgrade "cloud-function-* examples to spring boot 3.x deps and embedded native compilation support #1726

Closed cforce closed 1 year ago

cforce commented 1 year ago

Please upgrade "spring cloud function" based (serverless) examples to use latest spring boot 3 (graal) embedded native profile to support Graal based native executable e.g for lambda with much improved startup times

https://github.com/spring-projects-experimental/spring-native/tree/main/samples/cloud-function-aws https://github.com/spring-projects-experimental/spring-native/tree/main/samples/cloud-function-cloudevent https://github.com/spring-projects-experimental/spring-native/tree/main/samples/cloud-function-netty

Or even better move those examples updated to the "spring cloud function" repo

https://github.com/spring-cloud/spring-cloud-function/issues/938

sdeleuze commented 1 year ago

For that you should use directly Spring Boot 3 native support, see https://www.youtube.com/watch?v=TS4DpYSmfXk and https://spring.io/blog/2022/09/26/native-support-in-spring-boot-3-0-0-m5. Spring Boot 3 RC1 will be released tomorrow.