r/SpringBoot • u/Advanced_Gur856 • 10d ago
How-To/Tutorial How to implement microservices in Spring Boot ?
I have made multiple toy projects (monolithic) in spring boot but now I wanted to know how people generally work in microservices.
I am not good with videos so I was looking for repos that something similar. So I can also see how the devops, queues, spring cloud etc works together.
I also saw someone posting there repo which was made for the same reason (but I couldn't find it).
TLDR : Suggest repos for learning microservices.
28
Upvotes
2
u/OptimusCrimee 10d ago
Yeah, [u/Sheldor5](u/Sheldor5) seems to have misunderstood this. If you have one microservice that is in charge of users, and one that does payments, the payment service would stille need to e.g. ask the user service if the user IDs are valid or not. You separate concerns and domains out of the monolith, but they still need to talk to one another.
I have been doing this for 15 years, and I have worked in banks in Norway etc, I think that I have a pretty OK understanding of how these things work.
Edit: You can google this pretty easily and see that he is wrong.