爱意满满的作品展示区。
skyebefreeman

针对 Spring Cloud 项目实现多测试环境路由

  •  
  •   skyebefreeman · Oct 31, 2022 · 1710 views
    This topic created in 1295 days ago, the information mentioned may be changed or developed.
    在实际的开发过程中,一个微服务架构系统下的不同微服务可能是由多个团队进行开发与维护的,每个团队只需关注所属的一个或多个微服务,而各个团队维护的微服务之间可能存在相互调用关系。如果一个团队在开发其所属的微服务,调试的时候需要验证完整的微服务调用链路。

    此时可以借助多测试环境路由的方式,让请求在基线环境和特性环境之间路由,让测试请求根据不同的染色信息,调度到不同的后端微服务实例来处理。

    开发者可以通过三种方式对流量进行染色,包括客户端染色、网关静态染色和网关动态染色,以实现流量的转发。

    详细文档: https://github.com/Tencent/spring-cloud-tencent/wiki/%E6%B5%8B%E8%AF%95%E7%8E%AF%E5%A2%83%E8%B7%AF%E7%94%B1
    项目地址: https://github.com/Tencent/spring-cloud-tencent
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2998 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:51 · PVG 20:51 · LAX 05:51 · JFK 08:51
    ♥ Do have faith in what you're doing.