3 ms·
One thing would be that you then are just syncing database as opposed to sending domain events, aren't you?
by zeroc8 5y ago
One thing would be that you then are just syncing database as opposed to sending domain events, aren't you?
- skrtskrt 5y agoGood point, but you could have the sender/pusher process read from Kafka Connect and parse into a domain event before pushing. It sounds roundabout, but you're letting a battle-tested implementation handle the database-table-listening aspects with no special outbox implementation needed on the database write.
- deleted 5y ago[deleted]
- lmarcos 5y agoHow do you handle domain events that are the composition of columns of different tables?
- playing_colours 5y agoYou can use views.
- zeroc8 5y agoIn our case it's not the easy to reconstruct domain events from CDC - in many cases, multiple events are affecting the same tables.