architecture microservice spring boot

architecture microservice spring boot

If you have common database for all of these microservices and you need User related information based on question id.

Then instead of doing another database call for user, you can directly do @OneToOne to User.

From your question it is better to go for 2 option.

architecture microservice spring boot

Leave a Reply

Your email address will not be published. Required fields are marked *