Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add out-of-box support for Sentinel OpenSergo data-source #3075

Closed
sczyh30 opened this issue Jan 10, 2023 · 6 comments
Closed

Add out-of-box support for Sentinel OpenSergo data-source #3075

sczyh30 opened this issue Jan 10, 2023 · 6 comments
Assignees
Labels
area/OpenSergo Issues or PRs related to OpenSergo area/sentinel spring cloud alibaba sentinel kind/discussion Mark as discussion issues/pr stale wait-for-feedback

Comments

@sczyh30
Copy link
Member

sczyh30 commented Jan 10, 2023

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

@sczyh30 sczyh30 added area/sentinel spring cloud alibaba sentinel area/OpenSergo Issues or PRs related to OpenSergo labels Jan 10, 2023
@123liuziming
Copy link
Collaborator

Please assign it to me.

@steverao
Copy link
Collaborator

It sounds good!

@steverao steverao added the kind/discussion Mark as discussion issues/pr label Jan 11, 2023
@sczyh30
Copy link
Member Author

sczyh30 commented Jan 28, 2023

一个简单的用户使用流程示例(仅做流程参考,名称、形式后续讨论):

用户引入 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

@123liuziming
Copy link
Collaborator

I‘ve submit a POC pr here #3142

Copy link

This issue has been open 30 days with no activity. This will be closed in 7 days.

@github-actions github-actions bot added the stale label Mar 19, 2024
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/OpenSergo Issues or PRs related to OpenSergo area/sentinel spring cloud alibaba sentinel kind/discussion Mark as discussion issues/pr stale wait-for-feedback
Projects
None yet
Development

No branches or pull requests

3 participants