jnosql-redis-example has sample code with integration between Redis and JNoSQL framework.
Redis: Redis is a software project that implements data structure servers. It is open-source, networked, in-memory, and stores keys with optional durability.
Once this is a communication layer to Redis, we're using integration test, so you need to install Redis. The recommended way is using Docker.
- Install docker: https://www.docker.com/
- https://store.docker.com/images/redis
- Run docker command
docker run --name redis-instance -p 6379:6379 -d redis
- Main sample using KeyValueTemplate
- Main2 sample using Repository
- Main3 sample with List
- Main4 sample with Set
- Main5 sample with Queue
- Main6 sample with Map
- Main7 sample with SortedSet
- Main8 sample with Counter