Installing the Redis Stack client libraries
Redis Stack is based on Redis, which means it uses the same protocol, REdis Serialization Protocol (RESP). Therefore, all the Redis client libraries available are also valid for Redis Stack.
Here is a list of the supported client libraries:
- jedis: The Java client library supported by Redis and its community
- node-redis: The JavaScript client library supported by Redis and its community
- redis-py: The Python client library supported by Redis and its community
- go-redis: The Golang client library supported by Redis and its community
- NRedisStack: The C#/.NET client library supported by Redis and its community
In this section, we will see how to import those libraries into your code.
Java client library
To use the jedis library, it has to be imported and declared as a dependency in your code.
For Maven-based projects, you can use the following code snippet:
<dependency> Â Â Â Â ...