How to route in between microservices using Spring Cloud & Netflix OSS

后端 未结 1 436
萌比男神i
萌比男神i 2021-01-30 11:39

During our development of microservices using Spring Cloud, we started out using Zuul as a proxy for any connection from the outside to microservices, and for any microservice n

1条回答
  •  旧巷少年郎
    2021-01-30 12:05

    By setting a version number in the metadata you can easily make your Svc1 fetch the latest version of Svc2,i.e. always getting the instance with the latest version number. See this gist as guide.

    0 讨论(0)
提交回复
热议问题