alibaba / alibaba/Sentinel

[feature] 熔断器状态变换事件通知到对应resource

Open
#1,940 1 comment 0 reactions 0 assignees View on GitHub
area/circuit-breaking
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

feature request

### Describe what you expected to happen

![image](https://user-images.githubusercontent.com/68629395/103401622-960af980-4b84-11eb-8bba-17ff36565525.png)

希望:事件监听器能具体关联到对应的resource,这样事件通知能做到精准送达,不想所有的resource都收到然后自己写if判断。

I expect the state change events only delivered to the corresponding resource, instead of all resources are notified and you need distinguish events yourself.

Contributor guide

Open the contributing guide

Research direction

Start by locating the circuit-breaker state-change event listener and the resource notification path in Sentinel. Determine how events currently reach all resources and how a listener could be associated with one resource. Done means state-change events are delivered only to the corresponding resource, with focused tests covering unrelated resources receiving no notification.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.