🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Outbox Pattern Alternative using PubSub+ Transactions?

petegehrman
petegehrman Member Posts: 43 ✭✭
edited July 2022 in General Discussions #1

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.