谁能帮我更好地理解。
我们正在开发一个使用微服务架构的应用程序,现在我们有了不同的结构。
基于这些功能,我们制作了不同的微服务。
现在我们被一个点堵住了。
除了不同的行为者,我们还有“管理”或“客户服务”用户。
从他们那里,我们有一些特定的APIS。
我们有个问题要问。
1) Do we need to consider creating different micro service project.
2) Assume we consider different micro services, do we need to share all the domain models to thi
故事:
我们有大量的microservices,通信主要通过Service Bus发送serialized DTOs。
有些微服务share the DB,所以实体models,就目前而言,在每个微服务中都是duplicated。
问题:
无论何时我们想要用于微服务间通信的modify DTO,我们都需要modify it in each microservice。
任何change in the shared DB都需要进行changes in all related microservices和单个DB字段的编辑,从而导致multiple PRs。
可能的解