{"id":13458853,"url":"https://github.com/redis/jedis","last_synced_at":"2026-01-17T22:42:28.680Z","repository":{"id":940516,"uuid":"715605","full_name":"redis/jedis","owner":"redis","description":"Redis Java client","archived":false,"fork":false,"pushed_at":"2026-01-16T08:44:35.000Z","size":16279,"stargazers_count":12259,"open_issues_count":98,"forks_count":3910,"subscribers_count":669,"default_branch":"master","last_synced_at":"2026-01-17T21:27:13.688Z","etag":null,"topics":["java","jedis","redis","redis-client","redis-cluster"],"latest_commit_sha":null,"homepage":"https://redis.github.io/jedis/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2010-06-11T13:04:43.000Z","updated_at":"2026-01-17T21:08:39.000Z","dependencies_parsed_at":"2023-10-17T12:14:34.533Z","dependency_job_id":"cedd5447-e3fc-49fc-a142-793bfd3fc210","html_url":"https://github.com/redis/jedis","commit_stats":{"total_commits":2125,"total_committers":256,"mean_commits":8.30078125,"dds":0.7185882352941176,"last_synced_commit":"87d451c24cb0c03820d9d5999924cf0b1a2b2403"},"previous_names":["xetorthio/jedis"],"tags_count":136,"template":false,"template_full_name":null,"purl":"pkg:github/redis/jedis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis%2Fjedis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis%2Fjedis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis%2Fjedis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis%2Fjedis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis","download_url":"https://codeload.github.com/redis/jedis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis%2Fjedis/sbom","scorecard":{"id":767828,"data":{"date":"2025-08-11","repo":{"name":"github.com/redis/jedis","commit":"affb536fc3efeb3d77a2a9ab96ce0d59b314889c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.9,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":5,"reason":"Found 14/24 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:30","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/docs.yml:6","Warn: no topLevel permission defined: .github/workflows/doctests.yml:1","Warn: no topLevel permission defined: .github/workflows/format_check.yml:1","Warn: no topLevel permission defined: .github/workflows/integration.yml:1","Warn: no topLevel permission defined: .github/workflows/release-drafter.yml:1","Warn: no topLevel permission defined: .github/workflows/snapshot.yml:1","Warn: no topLevel permission defined: .github/workflows/spellcheck.yml:1","Info: found token with 'none' permissions: .github/workflows/stale-issues.yml:1","Warn: no topLevel permission defined: .github/workflows/test-on-docker.yml:1","Warn: no topLevel permission defined: .github/workflows/version-and-release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doctests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/doctests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doctests.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/doctests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doctests.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/doctests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/format_check.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/format_check.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/format_check.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/format_check.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/integration.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/integration.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/integration.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/integration.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/integration.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/integration.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/release-drafter.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/snapshot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/snapshot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/snapshot.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/snapshot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/spellcheck.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/spellcheck.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/spellcheck.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/spellcheck.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale-issues.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/stale-issues.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:101: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-on-docker.yml:133: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/test-on-docker.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version-and-release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/version-and-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version-and-release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/jedis/version-and-release.yml/master?enable=pin","Warn: containerImage not pinned by hash: docs/Dockerfile:1: pin your Docker image by updating squidfunk/mkdocs-material to squidfunk/mkdocs-material@sha256:405aeb6dbf1fcddd1082993eacf288a46648ea56b846323f001aee619015a23b","Warn: pipCommand not pinned by hash: docs/Dockerfile:2","Warn: pipCommand not pinned by hash: docs/Dockerfile:3","Warn: pipCommand not pinned by hash: .github/workflows/docs.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/docs.yml:24","Info:   0 out of  30 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/snapshot.yml:14"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(5.1.x): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T01:21:40.115Z","repository_id":940516,"created_at":"2025-08-23T01:21:40.115Z","updated_at":"2025-08-23T01:21:40.115Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28521165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","jedis","redis","redis-client","redis-cluster"],"created_at":"2024-07-31T09:00:58.511Z","updated_at":"2026-01-17T22:42:28.671Z","avatar_url":"https://github.com/redis.png","language":"Java","readme":"# Jedis\n\n[![Release](https://img.shields.io/github/release/redis/jedis.svg?sort=semver)](https://github.com/redis/jedis/releases/latest)\n[![Maven Central](https://img.shields.io/maven-central/v/redis.clients/jedis.svg)](https://central.sonatype.com/artifact/redis.clients/jedis)\n[![Javadocs](https://www.javadoc.io/badge/redis.clients/jedis.svg)](https://www.javadoc.io/doc/redis.clients/jedis)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/redis/jedis/blob/master/LICENSE)\n[![codecov](https://codecov.io/gh/redis/jedis/branch/master/graph/badge.svg?token=pAstxAAjYo)](https://codecov.io/gh/redis/jedis)\n[![Discord](https://img.shields.io/discord/697882427875393627?style=flat-square)](https://discord.gg/redis)\n\n## What is Jedis?\n\nJedis is a Java client for [Redis](https://github.com/redis/redis \"Redis\") designed for performance and ease of use.\n\nAre you looking for a high-level library to handle object mapping? See [redis-om-spring](https://github.com/redis/redis-om-spring)!\n\n## How do I Redis?\n\n[Learn for free at Redis University](https://university.redis.io/academy/)\n\n[Try the Redis Cloud](https://redis.io/try-free/)\n\n[Dive in developer tutorials](https://redis.io/learn/)\n\n[Join the Redis community](https://redis.io/community/)\n\n[Work at Redis](https://redis.io/careers/jobs/)\n\n## Supported Redis versions\n\nThe most recent version of this library supports redis version \n[7.2](https://github.com/redis/redis/blob/7.2/00-RELEASENOTES),\n[7.4](https://github.com/redis/redis/blob/7.4/00-RELEASENOTES),\n[8.0](https://github.com/redis/redis/blob/8.0/00-RELEASENOTES),\n[8.2](https://github.com/redis/redis/blob/8.2/00-RELEASENOTES) and\n[8.4](https://github.com/redis/redis/blob/8.4/00-RELEASENOTES).\n\nThe table below highlights version compatibility of the most-recent library versions with Redis and JDK versions. Compatibility means communication features, and Redis command capabilities.\n\n\n| Jedis version | Supported Redis versions              | JDK Compatibility |\n|---------------|---------------------------------------|-------------------|\n| 3.9+          | 5.0 to 6.2 Family of releases         | 8, 11             |\n| \u003e= 4.0        | Version 5.0 to 7.2 Family of releases | 8, 11, 17         |\n| \u003e= 5.0        | Version 6.0 to current                | 8, 11, 17, 21     |\n| \u003e= 5.2        | Version 7.2 to current                | 8, 11, 17, 21     |\n| \u003e= 6.0        | Version 7.2 to current                | 8, 11, 17, 21     |\n| \u003e= 7.0        | Version 7.2 to current                | 8, 11, 17, 21     |\n\n## Getting started\n\nTo get started with Jedis, first add it as a dependency in your Java project. If you're using Maven, that looks like this:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eredis.clients\u003c/groupId\u003e\n    \u003cartifactId\u003ejedis\u003c/artifactId\u003e\n    \u003cversion\u003e7.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nTo use the cutting-edge Jedis, check [here](https://redis.github.io/jedis/jedis-maven/).\n\nNext, you'll need to connect to Redis. Consider installing a redis server with docker:\n\n```bash\ndocker run -p 6379:6379 -it redis:latest\n```\n\nYou can instantiate a RedisClient like so:\n\n```java\nRedisClient jedis = RedisClient.builder().hostAndPort(\"localhost\", 6379).build();\n```\n\nNow you can send commands:\n\n```java\njedis.sadd(\"planets\", \"Venus\");\n```\n\n## Connecting to a Redis cluster\n\nJedis lets you connect to Redis Clusters, supporting the [Redis Cluster Specification](https://redis.io/topics/cluster-spec).\nTo do this, you'll need to connect using `RedisClusterClient`. See the example below:\n\n```java\nSet\u003cHostAndPort\u003e jedisClusterNodes = new HashSet\u003cHostAndPort\u003e();\njedisClusterNodes.add(new HostAndPort(\"127.0.0.1\", 7379));\njedisClusterNodes.add(new HostAndPort(\"127.0.0.1\", 7380));\nRedisClusterClient jedis = RedisClusterClient.builder().nodes(jedisClusterNodes).build();\n```\n\nNow you can use the `RedisClusterClient` instance and send commands like you would with a standard pooled connection:\n\n```java\njedis.sadd(\"planets\", \"Mars\");\n```\n\n## Support for Redis data types\n\nJedis includes support for all [Redis data types](https://redis.io/docs/latest/develop/data-types/) and features such as\n[JSON](https://redis.io/docs/latest/develop/data-types/json/) and [VectorSets](https://redis.io/docs/latest/develop/data-types/vector-sets/).\n\n## Failover\n\nJedis supports retry and failover for your Redis deployments. This is useful when:\n\n1. 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](https://redis.io/docs/latest/operate/rs/databases/active-active/) clusters.\n2. 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.\n\nFor the complete failover configuration options and examples, see the [Jedis failover docs](https://redis.github.io/jedis/failover/).\n\n## Token-Based Authentication\n\nJedis 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.\n\nNotably, the extension library includes built-in support for **Microsoft EntraID**, offering a seamless integration as part of the generic solution.\n\nFor more details and examples, please refer to the [Advanced Usage](https://redis.github.io/jedis/advanced-usage/) documentation.\n\n## Documentation\n\nThe [Jedis documentation site](https://redis.github.io/jedis/) contains several useful articles for using Jedis.\n\nYou can also check the [latest Jedis Javadocs](https://www.javadoc.io/doc/redis.clients/jedis/latest/index.html).\n\nSome specific use-case examples can be found in [`redis.clients.jedis.examples`\npackage](https://github.com/redis/jedis/tree/master/src/test/java/redis/clients/jedis/examples/) of the test source codes.\n\n## Troubleshooting\n\nIf you run into trouble or have any questions, we're here to help!\n\nHit us up on the [Redis Discord Server](http://discord.gg/redis) or \n[Jedis GitHub Discussions](https://github.com/redis/jedis/discussions).\n\n## Contributing\n\nWe'd love your contributions!\n\nBug reports are always welcome! [You can open a bug report on GitHub](https://github.com/redis/jedis/issues/new).\n\nYou can also contribute documentation -- or anything to improve Jedis. Please see\n[contribution guideline](https://github.com/redis/jedis/blob/master/.github/CONTRIBUTING.md) for more details.\n\n## License\n\nJedis is licensed under the [MIT license](https://github.com/redis/jedis/blob/master/LICENSE).\n\n## Sponsorship\n\n[![Redis Logo](https://raw.githubusercontent.com/redis/jedis/master/redis-logo-full-color-rgb.png)](https://redis.io/)\n","funding_links":[],"categories":["Java","Data Management \u0026 Processing","Clients","其他__大数据"],"sub_categories":["Database \u0026 Cloud Management","Java","网络服务_其他"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis%2Fjedis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis%2Fjedis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis%2Fjedis/lists"}