Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 Spring Boot 微服务应用程序中,我在我的 API 网关中使用 Zuul 代理作为边缘服务。我需要调用未在尤里卡服务器(非微服务架构)中注册的外部服务。如何从我的 api 网关调用该外部服务。(提前致谢)
在您的application.properties文件中,您配置如下:
application.properties
zuul.routes.external.path /external/** zuul.routes.external.url http://urltoexternalservice.com/external