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 086a6b0370 Support resource classification in Reactor adapter module and polish SC Gateway adapter пре 5 година
..
src Support resource classification in Reactor adapter module and polish SC Gateway adapter пре 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();