This shows Redis as a cache for a RDBMS.
It uses lettuce to drive Redis and ormlite to map objects to SQL tables.
- Java 1.8
- Maven 3
- Docker 18
docker-compose up
mvn clean compile
mvn test
mvn exec:java -Dexec.mainClass="com.redislabs.demo.rdbms.Main" -Dexec.classpathScope=runtime
REST-API running on http://localhost:4567
docker-compose down