Applying CQRS and event sourcing

Currently, we have three microservices responsible for the provision of news in our application: famous_news_service, sports_news_service, and politics_news_service. Each have the same technical structure, but are separated by having different domains. As the domain of each of these microservices is set, it can receive completely different technical developments; however, in this case, we will modify the three, in the same way, to apply the aggregator design pattern. The first modification will be in the storage tier.

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.