【问题标题】:GRPC migration: Supporting both grpc and rest in spring boot?GRPC 迁移:在 Spring Boot 中同时支持 grpc 和 rest?
【发布时间】:2021-07-11 22:52:48
【问题描述】:

我在生产中有一个现有的微服务,它有一个安静的端点。对于新客户以及长期目标,我们愿意支持 grpc。我想了解在同一个 spring-boot 应用程序中同时支持 grpc 和 restful 端点是否是个好主意。这样做有什么潜在的缺点?

【问题讨论】:

    标签: spring-boot rest netty grpc


    【解决方案1】:

    this medium article(也请查看评论部分)、this baeldung article 和 SO:Microservices with gRPC and REST using Spring Boot 上有一些类似的问题。

    【讨论】:

      猜你喜欢
      • 2017-09-10
      • 2017-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-04-26
      相关资源
      最近更新 更多