# 项目学习 **Repository Path**: ys_lzz/project-learning ## Basic Information - **Project Name**: 项目学习 - **Description**: 专注于编程与技术学习的开源项目,进行专项技术攻克学习,包含个技术对应demo和文档 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-10 - **Last Updated**: 2026-06-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Project Learning An open-source project focused on programming and technology learning, containing demos and documentation for various technologies. ## 📚 Project Structure ``` project-learning/ ├── Redis_demo/ # Redis Technology Learning Demo │ ├── src/main/java/org/fairy/learning/redis/ │ │ ├── config/ # Configuration Classes (RedisTemplate, Redisson, Cache) │ │ ├── controller/ # REST API Controllers │ │ ├── service/ # Business Services (Bloom Filter, Data Operations) │ │ ├── domain/ # Data Models │ │ ├── bloom/ # Bloom Filter Module (Cache Penetration) │ │ └── puncture/ # Cache Puncture Module (Distributed Lock) │ └── pom.xml ├── RocketMQ_demo/ # RocketMQ Technology Learning Demo │ └── rocketmq-transaction-demo/ # Transaction Message Demo │ ├── src/main/java/org/fairy/learning/mq/transaction/ │ │ ├── controller/ # REST API Controllers │ │ ├── service/ # Business Services │ │ ├── handler/ # Message Handlers │ │ └── domain/ # Data Models │ └── pom.xml ├── LICENSE ├── README.md └── README.en.md ``` ## 🛠️ Technology Stack | Module | Technology | Version | | :--- | :--- | :--- | | Language | Java | 17 | | Framework | Spring Boot | 3.5.13 | | Cache | Redis | - | | Distributed Lock | Redisson | 3.52.0 | | Message Queue | RocketMQ | - | ## 🚀 Quick Start ### Redis Demo **Requirements:** - JDK 17+ - Maven 3.8+ - Redis 6.0+ **Run:** ```bash cd Redis_demo mvn spring-boot:run ``` **Features:** - RedisTemplate configuration and usage - Redisson distributed lock implementation - Spring Cache annotations - Bloom Filter application - Cache puncture solution with distributed lock ### RocketMQ Demo **Requirements:** - JDK 17+ - Maven 3.8+ - RocketMQ 4.9+ **Run:** ```bash cd RocketMQ_demo/rocketmq-transaction-demo mvn spring-boot:run ``` **Features:** - Transaction message sending - Message listening and consuming - Transaction check-back mechanism ## 📖 Learning Objectives This project aims to help developers master the following technical points: 1. **Redis Technology** - Redis basic data structures - Spring Data Redis operations - Distributed lock implementation - Cache strategy design (penetration, puncture solutions) 2. **RocketMQ Technology** - Message queue basic concepts - Transaction message principles - Message production and consumption - Message reliability guarantee ## 🤝 Contribution 1. Fork this repository 2. Create `Feat_xxx` branch 3. Commit your code 4. Create Pull Request ## 📄 License This project is licensed under the MIT License, see [LICENSE](LICENSE) for details.