Run working examples of service discovery with Eureka, Consul, or Nacos to see how microservices find each other
Try circuit breaker patterns using Hystrix or Sentinel to handle downstream service failures gracefully
Explore how an API gateway routes and filters incoming requests to backend Spring Cloud services
Set up distributed tracing with Zipkin to follow a single request across multiple microservices
Some modules require RabbitMQ, Nacos, or Zipkin running locally, Java and Maven must be installed.
This repository is a collection of code samples and blog post links for learning Spring Cloud, a set of tools built on top of the Java Spring framework that helps developers build systems made of many small, independently running services rather than one large program. The project is written and maintained in Chinese, so most of the explanatory content is in that language, though the code itself follows standard Java conventions. The samples are organized by Spring Cloud release series, covering several generations of the framework from older versions like Brixton and Dalston up through Finchley and the Alibaba extensions. Each section corresponds to a series of tutorials published on an external blog, and the repository provides the working code that goes alongside those written guides. Topics covered include how services find and register with each other using tools called Eureka, Consul, and Nacos, how one service calls another over the network using clients like Feign and Ribbon, how to share configuration settings across many services from a central place, and how to handle failures gracefully when a downstream service stops responding, using a pattern called a circuit breaker (implemented here via Hystrix and Sentinel). The project also covers API gateways, which act as a single front door that routes incoming requests to the right internal service. Additional sections address message-driven communication between services using RabbitMQ and Spring Cloud Stream, including patterns for retrying failed message deliveries and routing messages based on their content. There is also coverage of distributed tracing, which lets developers follow a single user request as it passes through multiple services, with integrations for Zipkin and Logstash. A separate section covers Spring Cloud Alibaba, a set of components popular in China that includes Nacos for service registration and configuration, Sentinel for traffic control and rate limiting, and integration with the Dubbo remote procedure call framework. The repository is described as continuously updated. If you are approaching Spring Cloud for the first time and can read Chinese, this project gives you runnable examples alongside a full written tutorial series.
← dyc87112 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.