Closed jeffmccune closed 5 months ago
I'm going to call this. Seems not the right trade-off at this point in time.
I can't figure out how to model the concept of transferring money from one account to another account with NATS Jetstream acting as an event source.
Consider Rita's Eventstore
It's not clear how messages after the first are guaranteed in order.
NATS doesn't support transactional batch publish, good discussion here: https://github.com/nats-io/nats-server/issues/2384
Seems more clear and understandable to use sql transactions when processing commands that mutate multiple entities.
I've had a similar spike. So far from my investigation the only viable solutions are either something like PostgreSQL (not ideal) and EventStoreDB. 🤔
Spike Event Sourcing + CQRS in Nats
Depends on: