I am creating an application using microservice architecture. I have broken down the domains into one microservice. I have two questions regarding handling additional data and functions.
Thank you in advance!
┌─────────────┐
│ Other │
│Microservices│
└──────┬──────┘
│
│
Publish
SMS
Email
Notif Events
│
▼
┌──────────────┐
│ Event Queue │
└──────────────┘
▲
│
│ Subscribe
│
┌────────────────┼────────────────┐
│ │ │
│ │ │
┌──────┴──────┐ ┌───────┴───────┐ ┌──────┴───────┐
│ SMS │ │ Push Notif. │ │ Email │
│ Microservice│ │ Microservice │ │ Microservice │
└─────────────┘ └───────────────┘ └──────────────┘
This will result in a cleaner architecture.