随笔分类 -  响应式编程

摘要:数据合并函数 由于业务需求有的时候需要将多个数据源进行合并,Reactor提供了concat方法和merge方法: concat public static <T> Flux<T> concat(Iterable<? extends Publisher<? extends T>> sources) 阅读全文 »
posted @ 2021-07-05 10:21 satire 阅读(2606) 评论(0) 推荐(1) 编辑
摘要:工厂方法创建流 Backpressure : the ability for the consumer to signal the producer that the rate of emission is too high push工厂方法 通过单线程生产者(在同一时间只有一个线程,可以调用nex 阅读全文 »
posted @ 2021-07-02 15:37 satire 阅读(782) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示