如何以最快的方式合并两个Mono的结果
我尝试使用mono.zip,但遇到性能问题。
public Mono<Tuple3<Optional<Customer>, Optional<HomeAddress>, Optional<DeliveryAddress>>>
merge(Mono<Optional<Customer>> customer, Mono<Optional<HomeAddress>> address, Mono<Optional<DeliveryAddress>> deliveryAddress){
return Mono.zip(customer,address,deliveryAddress).subscribeOn(Schedulers.parallel());
}