spring-attic / spring-native

Spring Native is now superseded by Spring Boot 3 official native support

Home Page:https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

cforce opened this issue · comments

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

spring-cloud/spring-cloud-function#938

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.