@FeignClient 改为 contextId 保留原 bean 名,name=rc-service-other,
url 使用 ${feign.other.url:}(带空默认值),API 前缀挪到 path。
行为:feign.other.url 配置存在(当前各服务启动参数注入 CLB VIP)时与原来
完全一致;置空/移除该参数后自动切换为 Nacos 服务发现负载均衡(lb)。
背景:内网 CLB 对"客户端本身是后端"的流量只调度到对面后端,对面实例被摘
除时连接被黑洞,导致部署 other 时调用方(live)线程池被拖死。切服务发现后
配合平台的 Nacos 摘流 + framework-nacos 的 LB 缓存驱逐实现无损发布。
先灰度 live→other(移除 live 启动参数中的 --feign.other.url),验证后全量。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
red-circle-service
Description
服务后台
Software Architecture
Software architecture description
Installation
- xxxx
- xxxx
- xxxx
Instructions
- xxxx
- xxxx
- xxxx
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
Gitee Feature
- You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
- Gitee blog blog.gitee.com
- Explore open source project https://gitee.com/explore
- The most valuable open source project GVP
- The manual of Gitee https://gitee.com/help
- The most popular members https://gitee.com/gitee-stars/
Description
Languages
Java
68.1%
JavaScript
31.7%