finds.dev← search

// the find

ityouknow/spring-cloud-examples

★ 6,196 · Java · updated Jul 2023

Spring Cloud 学习案例,服务发现、服务治理、链路追踪、服务监控等

A collection of minimal Spring Cloud example projects covering Eureka, Hystrix, Zuul, Spring Cloud Config, Sleuth/Zipkin, and Spring Cloud Gateway. Each subdirectory is a self-contained multi-module Maven project you can clone and run. Aimed at developers learning the Spring Cloud ecosystem for the first time, particularly Chinese-speaking audiences given the documentation language.

The examples are genuinely minimal — no noise, just the wiring you need to see a specific concept work. Covers the full classic Spring Cloud stack in one place: service discovery, circuit breaking, config server, distributed tracing, and two generations of gateway (Zuul and Spring Cloud Gateway). The progression from simple to advanced within each topic (e.g. gateway-service-zuul basic then zuul filters/auth) is well-structured for stepping through. Each example has a corresponding blog post series, so there's prose explanation if the code alone isn't enough.

The tech here is graveyard material — Eureka, Hystrix, and Zuul are all in maintenance mode or EOL. Netflix OSS pivoted away from these years ago and Spring Cloud's own guidance now points to alternatives like Resilience4j and Spring Cloud Gateway. Anyone adopting these patterns for a new project is inheriting dead dependencies. Last push was mid-2023 and there's been no migration toward current idioms. There are also zero tests beyond the boilerplate Spring Boot test stubs, so you can't tell if the examples actually behave correctly under failure conditions — which is precisely what you'd want to verify with circuit breakers.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →