alibaba / alibaba/Sentinel

新增API网关流控规则多条件匹配

Open
#1,322 4 comments 0 reactions 0 assignees View on GitHub
area/gateway-flow-control kind/enhancement
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *feature request*

### Describe what happened (or what feature you want)
一个规则目前只能针对一个条件进行设置
比如:Remote Host、Client IP、Header、URL参数、Cookie中的一个条件进行设置

### Describe what you expected to happen
一个规则可以设置多个条件的AND操作,比如Header的参数 p1=xx1 并且 p2=xx2 并且 Remote Host的参数 p3=xx3

### How to reproduce it (as minimally and precisely as possible)

1.
2.
3.

### Tell us your environment

### Anything else we need to know?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the API gateway flow-control rule configuration and matching implementation, then review how a rule currently handles one condition. Done means one rule can apply an AND operation across multiple Header, Remote Host, client IP, URL parameter, or Cookie conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.