alibaba/Sentinel

网关限流异常类ZuulBlockFallbackProvider中返回信息限定了BlockResponse,能不能支持自定义

Open

#1,428 opened on Apr 24, 2020

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Java (8,150 forks)batch import
area/gateway-flow-controlgood first issuekind/enhancement

Repository metrics

Stars
 (23,109 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

网关限流异常类 ZuulBlockFallbackProvider 中返回信息限定只能返回 BlockResponse。我们期望用户可以真正自定义网关限流之后的处理逻辑,像 Web adapter 一样,可以实现跳转、自定义返回等。

Contributor guide