Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spring-projects-experimental/spring-fu
Configuration DSLs for Spring Boot
https://github.com/spring-projects-experimental/spring-fu
coroutines graalvm kotlin spring spring-boot
Last synced: 3 days ago
JSON representation
Configuration DSLs for Spring Boot
- Host: GitHub
- URL: https://github.com/spring-projects-experimental/spring-fu
- Owner: spring-projects-experimental
- License: apache-2.0
- Created: 2018-05-24T15:16:16.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T14:25:38.000Z (4 months ago)
- Last Synced: 2024-12-12T00:35:27.276Z (10 days ago)
- Topics: coroutines, graalvm, kotlin, spring, spring-boot
- Language: Java
- Homepage:
- Size: 17.2 MB
- Stars: 1,677
- Watchers: 80
- Forks: 137
- Open Issues: 38
-
Metadata Files:
- Readme: README.adoc
- Contributing: CONTRIBUTING.adoc
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.adoc
Awesome Lists containing this project
README
Spring Fu is an incubator for https://github.com/spring-projects-experimental/spring-fu/tree/main/jafu[JaFu] (Java DSL)
and https://github.com/spring-projects-experimental/spring-fu/tree/main/kofu[KoFu] (Kotlin DSL) designed to configure
Spring Boot explicitly with code in a declarative way with great discoverability thanks to auto-complete.
It provides fast startup (40% faster than regular auto-configuration on a minimal Spring MVC app), low memory consumption
and is a good fit with https://www.graalvm.org/docs/reference-manual/native-image/[GraalVM native] thanks to its (almost) reflection-less approach.== Status
Spring Fu is experimental and not intended to be used in production. The project has been stalled for some time, and we recognize that Spring Fu has not been getting the attention it deserves. The reason for this is that we have been focussed on other projects, such as native compilation and AOT. Rest assured that we will work on functional configurations again in the future, be it through Spring Fu, or in another form.
== Credits
In addition to the whole Spring and Reactor teams, special credits to:
* https://github.com/jhoeller[Juergen Hoeller] for his support on Kotlin and the functional bean registration API
* https://github.com/poutsma[Arjen Poutsma] for creating the WebFlux functional API
* https://github.com/tgirard12[Thomas Girard] for its https://github.com/tgirard12/spring-webflux-kotlin-dsl[spring-webflux-kotlin-dsl] experiment that initially demonstrated this approach was possible
* https://github.com/konrad-kaminski[Konrad Kaminski] for his awesome https://github.com/konrad-kaminski/spring-kotlin-coroutine[spring-kotlin-coroutine] project
* https://github.com/dsyer[Dave Syer] for his work on benchmarks, GraalVM support and functional bean registration applied to Boot
* The whole https://github.com/spring-projects/spring-boot[Spring Boot] team