i have some webflux based service, provide external service interface. how to integrate these services with dubbo service provider?
w7t8yxp51#
because webflux method return mono or flux, can i use dubbo async call like this?`dubboService.call();
var future = RpcContext.getContext().getCompletableFuture();return Mono.fromFuture(future);`
1条答案
按热度按时间w7t8yxp51#
because webflux method return mono or flux, can i use dubbo async call like this?
`
dubboService.call();
var future = RpcContext.getContext().getCompletableFuture();
return Mono.fromFuture(future);
`