alibaba / alibaba/Sentinel

是否可以通过properties对应的key开启、关闭sentinel-sofa-rpc-adapter中SentinelSofaRpcProviderFilter

Open
#2,513 0 comments 0 reactions 0 assignees View on GitHub
area/integrations
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

[根据demo中描述](https://github.com/alibaba/Sentinel/tree/master/sentinel-demo/sentinel-demo-sofa-rpc)

若不希望开启 Sentinel SOFARPC Adapter 中的某个 Filter,可以手动关闭对应的 Filter,比如:
providerConfig.setParameter("sofa.rpc.sentinel.enabled", "false");
consumerConfig.setParameter("sofa.rpc.sentinel.enabled", "false");
或者在 rpc-config.json 文件中设置,它的优先级要低一些。

{
"sofa.rpc.sentinel.enabled": true
}

如题,请问是否有properties的方式,开启关闭该功能?
@cdfive

Contributor guide

Open the contributing guide

Research direction

Start with sentinel-demo/sentinel-demo-sofa-rpc and the SentinelSofaRpcProviderFilter entry point. Compare the documented providerConfig and consumerConfig parameters with the rpc-config.json setting, then determine whether a properties-based option is supported. Done means answering the configuration question clearly or defining the required change and its verification path.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.