seninel部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Eric Zhao fca70646ad Bump version to 1.8.2-SNAPSHOT 3 年之前
..
src Update resource classification in SentinelWebFluxFilter and improve reactor EntryConfig 5 年之前
README.md Update source/target JDK version to 1.8 and update documents 3 年之前
pom.xml Bump version to 1.8.2-SNAPSHOT 3 年之前

README.md

Sentinel Reactor Adapter

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();