Hacker News new | past | comments | ask | show | jobs | submit login

One thing would be that you then are just syncing database as opposed to sending domain events, aren't you?



Good 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.


In our case it's not the easy to reconstruct domain events from CDC - in many cases, multiple events are affecting the same tables.


How do you handle domain events that are the composition of columns of different tables?


You can use views.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: