spring-reactive
A sample repo to explore spring web flux with native image
pre-requisites
- Docker
- Docker Compose
- JDK17
Steps For Native
- To create a native image run the command
.\mvnw.cmd clean compile spring-boot:build-image -Pnative
on windows ormvnw clean compile spring-boot:build-image -Pnative
for linux - Once the native image build is completed , run
docker-compose up
Steps For JVM
- Run
docker-compose up -d sb-reactive-db
- Run
.\mvnw.cmd spring-boot:run
for windows ormvnw spring-boot:run
for linux