wujimin commented on issue #1883:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1883#issuecomment-740345048


   确实lazy是最大的问题,我上面说的执行线程的问题,就跟这个有关   
   不过,除此之外,jdk的这个CompletableFuture,还是很好用的  
   
我在做的服务项目中,consumer都是使用透明RPC开发模式,不需要像restTemplate/webClient一样,需要记忆url/参数名/参数类型等等信息,不存在不小心写错的可能性
  
     
   在开发模式上,引入新的类型,应该可以考虑(目前各reactive封装都提供了与CompletableFuture的转换接口)  
   
但是内部扩展点上,目前已经在基于jdk的CompletableFuture全面重构(https://issues.apache.org/jira/browse/SCB-1929#)
 ,可能不会切换了


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to