Click here to Skip to main content
15,904,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm having different micro-services such as configuration service, service registry, order service, customer service, payment service, front-end service, these services they fetch their configurations from config server and they are all connected to service registry, my question is, is it possible to start all micro-services from one service for-example if I'm to start service registry should be able to start all other services

What I have tried:

I have created each service as a separate project
Posted
Updated 14-Mar-24 21:51pm
Comments
Pete O'Hanlon 15-Mar-24 4:55am    
Are these services deployed as separate Spring services or is it all in one service?

1 solution

Assuming that these are separately deployed services, I wouldn't attempt to start them from a central location. What I do is deploy my services in separate containers (Kubernetes on my part, but you could use Docker), and use orchestration to manage the starting of these services. Suppose you were using Docker, then you would use this to manage auto-starting your services[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900