Learn how to build scalable microservices using Spring Cloud and Dubbo with working code examples.
Understand message queue patterns like ordered messaging, transactions, and retries across RabbitMQ, Kafka, and RocketMQ.
Study how to implement distributed transactions across multiple databases in a microservices architecture.
Reference production-ready implementations of Spring Security, OAuth2, caching, and job scheduling in real applications.
Multiple services required: RabbitMQ, Kafka, Redis, MongoDB; each lab may need different infrastructure setup and configuration.
SpringBoot-Labs is a large Chinese-language learning repository containing over 50,000 lines of example Java code organized into six major topic tracks: Spring Boot 2.X, Spring Cloud, Spring Cloud Alibaba, Dubbo, Message Queues, and Distributed Transactions. Each topic has its own numbered lab directory with working code, accompanied by in-depth articles on iocoder.cn. The Spring Boot track covers beginner through advanced topics: setting up web APIs with SpringMVC, reactive web with WebFlux, API documentation with Swagger, input validation, WebSocket, database access with MyBatis and JPA, Redis caching, MongoDB, Elasticsearch, scheduled jobs with Quartz and XXL-JOB, file storage with MinIO, security with Spring Security and OAuth2, and many others. The message queue track covers RabbitMQ, RocketMQ, Kafka, ActiveMQ, and more, going beyond basic send/receive to cover cluster consumption, broadcast messaging, ordered messages, delayed messages, transactional messages, and retry logic. The distributed transactions track explains how to coordinate transactions across multiple services that each have their own database. The repository is aimed at Java developers who want to go deeper than the typical "getting started" article. The author's premise is that basic Spring Boot tutorials are widely available but deep, comprehensive treatments are rare, so the labs provide thorough coverage of each technology with production-relevant patterns. You would use this repository as a study and reference resource if you are a Java backend developer using the Spring ecosystem and want to understand how enterprise technologies integrate and work in depth.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.