BlockHound 检测 reactor阻塞调用的agent
BlockHound reactor 团队提供的检测阻塞调用的工具,可以提示reactor 开发的稳定性
参考使用
// Example.java
BlockHound.install();Mono.delay(Duration.ofSeconds(1)).doOnNext(it -> {try {Thread.sleep(10);}catch (InterruptedException e) {throw new RuntimeException(e);}}).block();
参考资料
https://github.com/reactor/BlockHound
