Skip to content

Latest commit

 

History

History
21 lines (9 loc) · 789 Bytes

README.md

File metadata and controls

21 lines (9 loc) · 789 Bytes

Reactive Setting Service

This is a toy version of setting service built reactive from ground up using spring webflux, r2dbc, jasync

Caveats:

  • Flyway and R2DBC are not yet compatible so we're using the mvn:flyway command to apply flyway migrations before starting the app
  • Due to some dependency mismatch between r2dbc and spring framework 5.2, not able to use latest version of r2dbc at the moment (fails with message java.lang.NoSuchMethodError: org.springframework.transaction.reactive.TransactionSynchronizationManager.currentTransaction()Lreactor/core/publisher/Mono;)

Usage:

run the script ./runEverything.sh to start mysql container, execute flyway migrations, start the app

then curl localhost:8080/dimensions to get all dimensions, streaming the response