If you want to find this kind of SDK, the first reaction should go straight to the official website, find out what is recommended. First find the most authoritative answer, can not find another attempt to private programs.
As far as Redis is concerned, the official has provided a list of the most available languages of the SDK, you can refer to the following URL to see Java supported SDK
Https://redis.io/clients#java
As of this form, as of today, the future is likely to increase.
If you search for Redis based Java client, the most is Jedis, this is very fire on GitHub. The remaining two clients are listed below, and on GitHub are all with very detailed wiki documentation. It is also the official recommendation of several clients.
- Jedis:https://github.com/xetorthio/jedis/wiki
- Iettuce:https://github.com/lettuce-io/lettuce-core/wiki
- Redisson:https://github.com/redisson/redisson/wiki
Because of the historical reasons for Redis, clusters are not supported in the early stages, so these clients each implement the Shard and cluster functionality, which can be done through the relevant wiki.
These clients can also be integrated with spring, and the authorities also provide examples. Although a Redis-based library is also available in spring, the business needs to weigh its own performance to choose.
For use I recommend encapsulating the generic part as a uniform method, at least so that the next time the library is replaced, the business code can be used without modification.
Redis Java-based Client SDK collection