1. 2.23 Gatewayhistorical

    Spring Cloud Gateway 通过路由、断言和过滤器处理请求。笔记从 Route 的组成开始,整理网关如何匹配并转发请求。

  2. 2.24 Hystrixhistorical

    Hystrix 为微服务调用提供容错能力。笔记从故障传播的问题出发,整理熔断、降级等机制。

  3. 2.25 Ribbonhistorical

    Ribbon 是客户端负载均衡组件。笔记从为什么需要负载均衡开始,整理服务调用时的选择与执行过程。

  4. 2.26 Sleuthhistorical

    Sleuth 为 Spring Cloud 调用记录链路信息,并可与 Zipkin 配合展示服务间的调用过程。

  5. 2.27 Zuulhistorical

    Zuul 是 Spring Cloud 的网关组件。笔记从请求入口开始,记录路由、过滤以及按流量发布新功能等使用场景。

  6. 2.28 ApplicationListenerhistorical

    ApplicationListener 通过观察者模式处理事件,让发布者与多个监听者解耦。笔记以下工单后分别发邮件、写日志等场景说明使用。

  7. 2.29 Bean作用域historical

    Singleton 作用域每次从容器返回同一个 Bean,prototype 则每次创建新的实例。笔记整理不同作用域的行为。

  8. 2.30 使用historical

    本文通过 HelloWorld 等示例记录 Spring AOP 的使用,展示切面配置与目标方法调用的关系。

  9. 2.31 使用historical

    本文通过 AopConfig、Calc 等代码示例记录 Spring AOP 配置,展示切面与目标对象如何配合。

  10. 2.32 Autowired原理historical

    Spring 在注册后置处理器和实例化 Bean 等阶段处理依赖注入。笔记沿 AutowiredAnnotationBeanPostProcessor 追踪 @Autowired 的实现。