https://github.com/jinyue233/DemoAll/tree/master/jdk/src/main/java/demo/jdk/reactor/mainsub 这个是主从多线程模型的demo代码,很经典。