redis/jedis ? reverse-engineered prompt
Reverse engineered prompt
Build me a Java Redis client that feels simple to use but still fast, like a solid production ready library.
I want a clean API for connecting to a local Redis server, sending commands, and working with the common Redis data types. It should also handle Redis Cluster connections, so I can point it at multiple nodes and keep using the same kind of commands. Add support for retry and failover between Redis deployments, and include token based authentication too.
Please set it up as a proper Maven project with good tests, clear examples, and documentation that shows how to get started, how to use it with Redis Cluster, and how to handle the newer Redis features like JSON and VectorSets. If you need to check current Redis or Java docs while implementing it, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit