RedisLabs/spark-redis
소개
Spark와 Redis 클러스터 간에 데이터를 읽고 쓸 수 있게 해주는 커넥터입니다.
데이터 및 분석측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSpark-Redis
A library for reading and writing data in Redis using Apache Spark.
Spark-Redis provides access to all of Redis' data structures - String, Hash, List, Set and Sorted Set - from Spark as RDDs. It also supports reading and writing with DataFrames and Spark SQL syntax.
The library can be used both with Redis stand-alone as well as clustered databases. When used with Redis cluster, Spark-Redis is aware of its partitioning scheme and adjusts in response to resharding and node failure events.
Spark-Redis also supports Spark Streaming (DStreams) and Structured Streaming.
Version compatibility and branching
The library has several branches, each corresponds to a different supported Spark version. For example, 'branch-2.3' works with any Spark 2.3.x version.
The master branch contains the recent development for the next release. It is built with the latest Spark 3.5.x, and CI
also tests it with Spark 3.2, 3.3 and 3.4. Like Spark 3.x, it is built for Scala 2.12 (spark-redis_2.12) and Scala 2.13
(spark-redis_2.13), see Getting the library.
| Spark-Redis | Spark | Redis | Supported Scala Versions |
|---|---|---|---|
| master | 3.2.x - 3.5.x (built with 3.5.x) | >=7.4 | 2.12, 2.13 |
| 3.1.1 (jars on the GitHub release only) | 3.2.x - 3.5.x (built with 3.5.x) | >=7.4 | 2.12, 2.13 |
| 3.1.0 | 3.2.x | >=2.9.0 | 2.12 |
| 3.0 | 3.0.x | >=2.9.0 | 2.12 |
| 2.4, 2.5, 2.6 | 2.4.x | >=2.9.0 | 2.11, 2.12 |
| 2.3 | 2.3.x | >=2.9.0 | 2.11 |
| 1.4 | 1.4.x | 2.10 |
Known limitations
- The API is written in Scala. Java can use it through Scala/Java interoperability, see Java.
- Python supports the DataFrame API, Spark SQL and Structured Streaming only. The RDD and DStream functions are not available from Python, see Python.
- There is no R API.
- Redis Sentinel is not supported, see Redis server requirements.
masterrequires Redis 7.4 or later; CI tests 7.4 and 8.6. Earlier releases (see the table above) work with older Redis versions.
Additional considerations
This library is a work in progress so the API may change before the official release.
Documentation
Please make sure you use documentation from the correct branch (2.4, 2.3, etc).
- Getting Started
- RDD
- Dataframe
- Streaming
- Structured Streaming
- Cluster
- Java
- Python
- Configuration
- Troubleshooting
- Dev environment
Contributing
You're encouraged to contribute to the Spark-Redis project.
There are two ways you can do so:
Submit Issues
If you encounter an issue while using the library, please report it via the project's issues tracker.
Author Pull Requests
Code contributions to the Spark-Redis project can be made using pull requests. To submit a pull request:
- Fork this project.
- Make and commit your changes.
- Submit your changes as a pull request.
관련 프로젝트 살펴보기
불러오는 중…