如何使用Spring Boot Micro Service实现编排? [英] How to achieve orchestration with spring boot micro service?

查看:461
本文介绍了如何使用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

这篇关于如何使用Spring Boot Micro Service实现编排?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆