mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
update maven coordinates & docs
This commit is contained in:
@@ -44,4 +44,11 @@ public class SentinelWebFluxController {
|
||||
.transform(new SentinelReactorTransformer<>("flux"));
|
||||
}
|
||||
|
||||
@GetMapping("/test")
|
||||
public Flux<String> test() {
|
||||
return Flux.fromArray(new String[] { "test" })
|
||||
// transform the publisher here.
|
||||
.transform(new SentinelReactorTransformer<>("test"));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user