Trên GitHub, redis/jedis đã đạt 12.4k sao, nhóm Backend, ngôn ngữ Java. Redis Java client
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Jedis is a Java client for Redis designed for performance and ease of use.
Are you looking for a high-level library to handle object mapping? See redis-om-spring!
How do I Redis?
Learn for free at Redis University
Try the Redis Cloud
Dive in developer tutorials
Join the Redis community
Work at Redis
Supported Redis versions
The most recent version of this library supports redis version
7.2,
7.4,
8.0,
8.2,
8.4,
8.6,
8.8 and
8.10.
The table below highlights version compatibility of the most-recent library versions with Redis and JDK versions. Compatibility means communication features, and Redis command capabilities.
Jedis version
Supported Redis versions
JDK Compatibility
3.9+
5.0 to 6.2 Family of releases
8, 11
>= 4.0
Version 5.0 to 7.2 Family of releases
8, 11, 17
>= 5.0
Version 6.0 to current
8, 11, 17, 21
>= 5.2
Version 7.2 to current
8, 11, 17, 21
>= 6.0
Version 7.2 to current
8, 11, 17, 21
>= 7.0
Version 7.2 to current
8, 11, 17, 21
>= 8.0
Version 7.2 to current
8, 11, 17, 21, 25
Getting started
To get started with Jedis, first add it as a dependency in your Java project. If you're using Maven, that looks like this:
Jedis lets you connect to Redis Clusters, supporting the Redis Cluster Specification.
To do this, you'll need to connect using RedisClusterClient. See the example below:
Now you can use the RedisClusterClient instance and send commands like you would with a standard pooled connection:
jedis.sadd("planets", "Mars");
Support for Redis data types
Jedis includes support for all Redis data types and features such as
JSON and VectorSets.
Failover
Jedis supports retry and failover for your Redis deployments. This is useful when:
You have more than one Redis deployment. This might include two independent Redis servers or two or more Redis databases replicated across multiple active-active Redis Enterprise clusters.
You want your application to connect to one deployment at a time and to fail over to the next available deployment if the first deployment becomes unavailable.
For the complete failover configuration options and examples, see the Jedis failover docs.
Token-Based Authentication
Jedis supports Token-Based authentication (TBA) starting with 5.3.0 GA release. This feature is complemented by an extension library that enhances the developer experience and provides most of the components required for TBA functionality.
Notably, the extension library includes built-in support for Microsoft EntraID, offering a seamless integration as part of the generic solution.
For more details and examples, please refer to the Advanced Usage documentation.
Documentation
The Jedis documentation site contains several useful articles for using Jedis.
You can also check the latest Jedis Javadocs.
Some specific use-case examples can be found in redis.clients.jedis.examples
package of the test source codes.
Troubleshooting
If you run into trouble or have any questions, we're here to help!
Hit us up on the Redis Discord Server or
Jedis GitHub Discussions.
Contributing
We'd love your contributions!
Bug reports are always welcome! You can open a bug report on GitHub.
To report a security vulnerability, please follow our Security Policy.
You can also contribute documentation -- or anything to improve Jedis. Please see
contribution guideline for more details.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/redis/jedis là nguồn chính thức.
redis/jedis có bao nhiêu sao?
redis/jedis có 12.4k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/redis/jedis. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
redis/jedis có những chủ đề gì?
GitHub topics của redis/jedis: "java", "jedis", "redis", "redis-client", "redis-cluster". TopGit xếp repo vào nhóm Backend.
redis/jedis có trang demo không?
Dự án có trang chủ ở https://redis.github.io/jedis/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
redis/jedis còn đang phát triển không?
Commit gần nhất trên redis/jedis là 6 ngày trước (theo timestamp GitHub). Repo có 3.9k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
redis/jedis dùng license gì?
redis/jedis phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
redis/jedis viết bằng ngôn ngữ gì?
redis/jedis chủ yếu viết bằng Java. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về jedis?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về jedis.