alibaba / alibaba/Sentinel

How to use raw sentinel-annotation-aspectj without Spring

Open
#1,640 1 comment 0 reactions 0 assignees View on GitHub
area/annotation kind/question
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

“AspectJ
若您的应用直接使用了 AspectJ,那么您需要在 aop.xml 文件中引入对应的 Aspect:


上述这种使用方式,哪位大佬可以提供一个样例,感谢。

Contributor guide

Open the contributing guide

Research direction

Start with the aop.xml snippet and the raw sentinel-annotation-aspectj usage described in the issue, focusing on how SentinelResourceAspect is loaded without Spring. Done means providing a concrete, runnable example showing this non-Spring AspectJ setup.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.