1
0
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:
fangjian0423
2019-07-10 17:15:25 +08:00
parent cfd2544ff0
commit fd9a8f8816
60 changed files with 162 additions and 41 deletions

View File

@@ -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"));
}
}