编程知识 cdmana.com

How to write service providers and service consumers in spring cloud?

I usually write demo It is divided into service providers (provider) And service consumers (consumers)
I divided it like this , In actual combat maven How should the hierarchy be divided ?

img

I look at other people's springcloud Code Basically no service consumers , At best, you can see the service provider , With rouyi-cloud For example
Didn't he write about consumers ? Or are consumers assigned somewhere

img

Build... In the company's business springcloud in , How to divide service providers maven?, Serving consumers maven, How to divide ? Or whether we need consumers ?

seek , I've been thinking about this question for a long time ! Thank you !




Refer to the answer 1:

Please let me know




Refer to the answer 2:

版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/12/202112121746124730.html

Scroll to Top