如何使用Spring Boot Micro Service实现编排?

如何使用Spring Boot Micro Service实现编排?

问题描述:

在Spring Boot中编排微服务的最佳方法是什么.

what is best way to orchestrate micro services in spring boot.

您有很多选择,但我将列出其中3个可供选择的选择:

You have many options but I will list 3 of them that I would choose from:

  1. 使用REST调用直接调用其他微服务(将URL硬编码到属性文件中或创建用于服务间通信的服务).
  2. 使用 spring-cloud spring-cloud
  1. Directly call the other microservice using REST calls (hard code the URL in a property file or create a service for inter service communication).
  2. Setup microservice architecture with spring-cloud and netflix OSS
  3. Setup microservice architecture with spring-cloud and kubernetes