Do you want to add entity to a microservice system and share it in dependencies?

does the entity originally shared by each module in the micro-service system need to be extracted and put into the shared dependency management?
if not extracted, you need each module to define its own Bean that feels a lot of repetition, but you can let each module manage independently,
otherwise reference a common entity,. Once the entity package is modified, all modules will be affected.
is it necessary to have a special department to manage entity in actual production?

Mar.14,2021

each microservice is an independent service, but the communication between them is managed internally by the registry, the system is independent, and the entity is independent.

Menu