alibaba / sentinel-golang

Sentinel Go enables reliability and resiliency for Go microservices
https://sentinelguard.io/
Apache License 2.0
2.76k stars 431 forks source link

[DISCUSSION] Make OpenSergo module embedded in Sentinel Go #503

Open sczyh30 opened 1 year ago

sczyh30 commented 1 year ago

Issue Description

Type: feature request

Describe what feature you want

Make OpenSergo module (i.e. data-source with OpenSergo client) embedded in Sentinel Go, and support relevant config in sentinel.yml so that users may enable OpenSergo support without refactoring any code.

This arrangement indicates that Sentinel Go will internally support OpenSergo spec by default.

将 OpenSergo 适配模块作为 Sentinel Go 本身的一部分,并且支持通过 sentinel.yml 配置的方式来灵活启用 OpenSergo spec 支持,从而可以简化用户通过标准方式来配置流量治理规则。

Additional context

NOTE: this may introduce indirect dependencies including grpc-go and others.