我注意到Rest客户端上的两个指南: MicroProfile和Vertx。既然MicroProfile支持异步,那么使用基于Vertx的Rest客户端有什么优势呢?
发布于 2019-10-28 17:53:46
以下是两种方法之间的一些差异:
所以这取决于你的用例。当然,您可以在同一个应用程序中同时使用这两种方法。
发布于 2020-05-22 17:29:55
https://quarkus.io/guides/rest-client
MicroProfile restclient也是异步和非阻塞的。只需使用CompletionStage作为返回类型。
https://stackoverflow.com/questions/58453542
复制相似问题