seninel部署
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Eric Zhao f8ebbbccf4 Bump version to 1.7.0-SNAPSHOT 5 年前
..
src Fix the bug that parameters are not carried when exiting entries in SentinelReactorSubscriber 5 年前
README.md doc: Update README for new adapter modules 5 年前
pom.xml Bump version to 1.7.0-SNAPSHOT 5 年前

README.md

Sentinel Reactor Adapter

Note: this module requires Java 8 or later version.

Sentinel provides integration module for Reactor.

Add the following dependency in pom.xml (if you are using Maven):

<dependency>
    <groupId>com.alibaba.csp</groupId>
    <artifactId>sentinel-reactor-adapter</artifactId>
    <version>x.y.z</version>
</dependency>

Example:

someService.doSomething() // return type: Mono<T> or Flux<T>
   .transform(new SentinelReactorTransformer<>(resourceName)) // transform here
   .subscribe();