alibaba / alibaba/Sentinel

Why SentinelGatewayFilter implements GatewayFilter and GlobalFilter together?

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

Description

是不是只要实现一个 GlobalFilter 就行了, 实现 GatewayFilter 的意义在哪?

Contributor guide

Open the contributing guide

Research direction

Start by reading the SentinelGatewayFilter implementation and the GatewayFilter and GlobalFilter entry points referenced by the issue title. Trace how the filter is registered and invoked, then determine whether both interfaces are required or whether one can be removed. Done means providing a clear rationale, with any affected behavior or documentation identified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.