Use separate databases and microservices for Command and Query Part with Spring boot

I want to implement two separate microservices for Command and Query.
i couldn’t find any sample to doing this. there are some topics in discuss but none of them are solution to my problem.
Any guidance would be appreciated.
Thanks for your help

Hi Hamed,

Bike rental is likely a good example. It uses different spring boot profiles to activate specific parts of the application. Of course you could also split the code in multiple applications, but I’m not sure we have a well-maintained example of such a thing.

1 Like