Legacy modernization, part 5: Hand over writes for order creation and cancellation
Pin retries, hand over order creation and cancellation writes, and determine when rollback is safe.
Practical notes on Java, Spring, testing, and software engineering, with working examples and source references.
All articles →Pin retries, hand over order creation and cancellation writes, and determine when rollback is safe.
Define payment and refund reporting rules, align the snapshot and change stream, and reconcile the new report against the old one.
Migrate order confirmation emails by reconciling queues, tracking provider acceptance separately from delivery, and planning a rollback.
Save events with order changes in one transaction, reconcile what arrives, and prepare for retries, ordering gaps, and rollback before enabling notifications or statistics.
A phased migration plan that preserves the order API contract and introduces a transactional outbox, an admin read model, notification delivery, and write ownership in order.
Use an online shop to distinguish order receipt from confirmation and see how a transactional outbox, duplicate delivery, and out-of-order events fit in.