随笔分类 - 响应式编程
摘要:数据合并函数 由于业务需求有的时候需要将多个数据源进行合并,Reactor提供了concat方法和merge方法: concat public static <T> Flux<T> concat(Iterable<? extends Publisher<? extends T>> sources)
阅读全文
摘要:工厂方法创建流 Backpressure : the ability for the consumer to signal the producer that the rate of emission is too high push工厂方法 通过单线程生产者(在同一时间只有一个线程,可以调用nex
阅读全文