Outbox Pattern Alternative using PubSub+ Transactions?
petegehrman
Member Posts: 43 ✭✭
I need to sync the publishing of events with MySQL database transaction commits, and was planning on using the Transactional Outbox Pattern for this (https://microservices.io/patterns/data/transactional-outbox.html). However, I was wondering if PubSub+ transactions can be leveraged for this, maybe with two-phased commit? Has anyone tried this? I'm using the JCSMP api in my application.
0