How to achieve orchestration with spring boot micro service? [closed]
Asked Answered
C

1

3

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

Calica answered 19/5, 2017 at 7:21 Comment(2)
what exactly you mean by orchestration. elaborateLuciano
I mean http orchestration, i have multiple micro services. At client(angular) i need data from one or more services in a single HTTP call. There may be cases where one service request may depend on another like call to service.Calica
M
4

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

  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
Meathead answered 19/5, 2017 at 8:40 Comment(5)
I already set up my architecture with spring-cloud and Netflix OSS , With this comb how can i achieve my requirements. I tried conductor but have setup issues.Calica
As an easy approach, use eureka to get a microservice by name (application-name) and query it in another microservice logic layer.Meathead
i am doing it right now it work fine, i use feign for service to service calls.But i have situation where i have to use it frequently which increase the code complexity. my doubt is whether orchestration is required for this process.Calica
It is very opinion-based and use-case related, there is no good or bad answer for that.Meathead
Thank you so much for your valuable feedback.Calica

© 2022 - 2024 — McMap. All rights reserved.