alibaba / alibaba/Sentinel

Gateway SentinelGatewayFilter throws FlowException after all the GlobalFilter excuted

Open
#821 9 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

My SpringCloud Gateway has lots of globla filters , the sentinel filter is first .
when the try number is larger than setting number, i hope that the sentinel throws the exception and finish,
but because of code chain.filter(exchange) ,all the filter would be excuted ,then throws my exception .

i want to ask that ,how to throw exception immediately if over the setting number , don't excute the other filters

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.