The source code belonging to the blog article.
This is a demonstrator of using Reactive / Lambda Architecture ideas with a toy version of an Account System.
To use the application, perform the following steps:
- installation of maven / java (>= version 7) is assumed
- install Redis
- install mySQL
- update database settings in file 'src/main/resources/application.properties'
- run application via '
_run.bat
'
On a non Windows environment 'mvn spring-boot:run
' can be used instead of '_run.bat
'.
Perform the following steps to create an executable jar:
mvn clean install
run application with:
java -jar target\vas-<version>.jar
The following setttings can de done:
-
--vas.async=false
: run directly to relational database (MySQL) -
--vas.async=true
(default), use Redis as speed layer and relational database (MySQL) as batch layer