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

CSDN Q & A 2022-01-15 02:36:01

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:

thank
Similar articles

2022-01-15

2022-01-15