# microsphere-redis
**Repository Path**: microsphere-projects/microsphere-redis
## Basic Information
- **Project Name**: microsphere-redis
- **Description**: The microsphere projects for Redis
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-09-03
- **Last Updated**: 2026-09-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Microsphere Redis
> Microsphere Projects for Redis
[](https://deepwiki.com/microsphere-projects/microsphere-redis)
[](https://zread.ai/microsphere-projects/microsphere-redis)
[](https://github.com/microsphere-projects/microsphere-redis/actions/workflows/maven-build.yml)
[](https://app.codecov.io/gh/microsphere-projects/microsphere-redis)


Microsphere Redis is an enhanced Redis integration framework that extends and improves Spring Data Redis capabilities,
providing advanced features for enterprise applications. This library helps developers address common Redis
implementation challenges in Spring applications with minimal configuration and maximum flexibility.
## Purpose and Scope
The microsphere-redis project is a multi-module Maven framework that enhances Redis integration in Spring applications
by providing:
- Non-intrusive Redis operation interception - Monitor and intercept Redis commands without modifying application code
- Spring Framework integration - Deep integration with Spring's dependency injection and auto-configuration
- Enterprise monitoring capabilities - Comprehensive event publishing and metrics collection
- Redis replication support - Advanced replication features with Kafka integration
- Modular architecture - Clean separation of concerns across multiple Maven modules
## Modules
| **Module** | **Purpose** |
|-----------------------------------------|-------------------------------------------------------------------------------------|
| **microsphere-redis-parent** | Defines the parent POM with dependency management and Spring Cloud version profiles |
| **microsphere-redis-dependencies** | Centralizes dependency management for all project modules |
| **microsphere-redis-core** | Foundational components and utilities for Redis operations |
| **microsphere-redis-spring** | Spring Framework integration with enhanced Redis capabilities |
| **microsphere-redis-spring-test** | Spring Test integration with enhanced Redis capabilities |
| **microsphere-redis-replicator-spring** | Redis replication support for Spring applications |
| **microsphere-redis-spring-boot** | Spring Boot integration with enhanced Redis capabilities |
| **microsphere-redis-spring-cloud** | Spring Cloud integration with enhanced Redis capabilities |
| **microsphere-redis-generator** | Redis Metadata generation |
## Getting Started
The easiest way to get started is by adding the Microsphere Redis BOM (Bill of Materials) to your project's
pom.xml:
```xml
...
io.github.microsphere-projects
microsphere-redis-dependencies
${microsphere-redis.version}
pom
import
...
```
`${microsphere-spring-boot.version}` has two branches:
| **Branches** | **Purpose** | **Latest Version** |
|--------------|-------------------------------------------------|--------------------|
| **main** | Compatible with Spring Data Redis 3.0.0 - 3.5.x | `0.2.14` |
| **1.x** | Compatible with Spring Data Redis 2.1.0 - 2.7.x | `0.1.14` |
Then add the specific modules you need:
```xml
io.github.microsphere-projects
microsphere-redis-spring
```
Using the Redis Replicator module:
```xml
io.github.microsphere-projects
microsphere-redis-replicator-spring
```
## Building from Source
You don't need to build from source unless you want to try out the latest code or contribute to the project.
To build the project, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/microsphere-projects/microsphere-redis.git
```
2. Build the source:
- Linux/MacOS:
```bash
./mvnw package
```
- Windows:
```powershell
mvnw.cmd package
```
## Contributing
We welcome your contributions! Please read [Code of Conduct](./CODE_OF_CONDUCT.md) before submitting a pull request.
## Reporting Issues
* Before you log a bug, please search
the [issues](https://github.com/microsphere-projects/microsphere-redis/issues)
to see if someone has already reported the problem.
* If the issue doesn't already
exist, [create a new issue](https://github.com/microsphere-projects/microsphere-redis/issues/new).
* Please provide as much information as possible with the issue report.
## Documentation
### User Guide
[DeepWiki Host](https://deepwiki.com/microsphere-projects/microsphere-redis)
[ZRead Host](https://zread.ai/microsphere-projects/microsphere-redis)
### Wiki
[Github Host](https://github.com/microsphere-projects/microsphere-redis/wiki)
### JavaDoc
- [microsphere-redis-core](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-redis-core)
- [microsphere-redis-spring](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-redis-spring)
- [microsphere-redis-spring-test](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-redis-spring-test)
- [microsphere-redis-replicator-spring](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-redis-replicator-spring)
- [microsphere-redis-spring-boot](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-redis-spring-boot)
- [microsphere-redis-spring-cloud](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-redis-spring-cloud)
## License
The Microsphere Redis is released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).