spring-cloud-alibaba
spring-cloud-alibaba copied to clipboard
Add out-of-box support for Sentinel OpenSergo data-source
Which Component
Sentinel, OpenSergo
Describe the solution you'd like
Sentinel v1.8.6 introduces the data-source module of OpenSergo fault-tolerance spec. We could add support for OpenSergo data-source in spring-cloud-starter-alibaba-sentinel
module (perhaps in spring-cloud-alibaba-sentinel-datasource
).
Sentinel 1.8.6 版本引入了 OpenSergo 数据源模块,从而支持通过 OpenSergo 流量防护与容错 spec CRD 来统一管控流量防护规则。SCA 里面 Sentinel 相关 starter 模块可以添加对该模块的快速接入支持,以便用户可以可以很方便地通过 OpenSergo 统一控制面来管控 SCA 的流量治理规则。
Additional context
OpenSergo 流量防护与容错 spec: https://github.com/opensergo/opensergo-specification/blob/main/specification/zh-Hans/fault-tolerance.md
Please assign it to me.
It sounds good!
一个简单的用户使用流程示例(仅做流程参考,名称、形式后续讨论):
用户引入 SCA Sentinel starter 模块,按照以下配置即可快速开启 OpenSergo spec 支持,无需再改代码:
# 配置 OpenSergo 控制面 endpoint
spring.cloud.opensergo.endpoint=127.0.0.1:10246
spring.cloud.sentinel.datasource.opensergo.enabled-rules=flow,degrade,system
I‘ve submit a POC pr here https://github.com/alibaba/spring-cloud-alibaba/pull/3142
This issue has been open 30 days with no activity. This will be closed in 7 days.
This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.