{"repo":"profunktor/redis4cats","free":true,"listed":false,"github":"https://github.com/profunktor/redis4cats","clone":"git clone https://github.com/profunktor/redis4cats.git","description":":bookmark: Redis client built on top of Cats Effect, Fs2 and Lettuce","language":"Scala","stars":369,"topics":["fs2","redis","client","stream","cats-effect","scala","lettuce","streaming","effects"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"redis4cats ========== Redis client built on top of Cats Effect, Fs2 and the async Java client Lettuce. Quick Start The API is quite stable and heavily used in production . However, binary compatibility is not guaranteed across versions for now. If you like it, give it a ⭐ ! If you think we could do better, please let us know! Versions The 1.x.x series is built on Cats Effect 3 whereas the 0.x.x series is built on Cats Effect 2. redis4cats is a thin wrapper over the async Java client Lettuce, so each series tracks a particular Lettuce major version: redis4cats Lettuce Cats Effect ---------- ------------------------- ----------- 3.x 7.x 3.x 2.x 6.x (currently 6.8.x ) 3.x 1.x 6.x ( 6.1.x – 6.5.x ) 3.x 0.x 5.3.x then 6.0.x 2.x Dependencies Add this to your build.sbt for the Effects API (depends on cats-effect ): Add this for the Streams API (depends on fs2 and cats-effect ): Log4cats support redis4cats needs a logger for internal use and provides instances for log4cats . It is the recommended logging library: Running the tests locally Start both a single Redis node and a cluster using docker-compose : If you are trying to run cluster mode tests on macOS you might receive host not found errors. As a workaround add new environment variable in docker-compose.yml for RedisCluster : IP=0.0.0.0 The environment section should look like this: Code of Conduct See the Code of Conduct Contribution Guidelines This project tracks Redis 8 For the Valkey fork please see Valkey4Cats LICENSE Lice","default_branch":null,"files":null,"tree":[],"storefront":"/r/profunktor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/profunktor/redis4cats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}