内部服务调用是否需要经过zuul之类的API网关?

Does the internal service call need to go through the API gateway, such as zuul?

我已经使用尤里卡作为服务发现。如果所有内部服务相互调用都通过 API 网关,我就不能再使用功能区支持的 RestTemplate 或假装客户端。

有必要还是有选择?

没有。 Zuul 是一个看门人。您需要它来传递来自 UI 的请求。内部通信不应通过网关。

仅供参考:

https://medium.com/microservices-in-practice/service-mesh-vs-api-gateway-a6d814b9bf56

您还可以在 Ken Finnigan 的书中找到更多信息 "Enterprise java microservices" (https://www.manning.com/books/enterprise-java-microservices)