Does RabbitMQ support distributed (XA) transactions?

1,665 views
Skip to first unread message

Arshika Mohottige

unread,
Jul 25, 2019, 2:15:24 AM7/25/19
to rabbitmq-users
Hi Guys,

Can you outline the status of support for transactions in RabbitMQ, specifically distributed (XA) transactions?

Cheers,
Arshika

Arnaud Cogoluègnes

unread,
Jul 25, 2019, 3:04:20 AM7/25/19
to rabbitm...@googlegroups.com
Transactions are supported in RabbitMQ, but they are not that much
used in the field. Acknowledgements and publish confirms are used
instead for reliability purposes [1].

There is no support for XA transactions. To reach or get near XA
transaction guarantees without the performance burden (or because it's
simply not supported), people use patterns like synchronization
(performing database commit right after the message acknowledgment,
aka "best-effort pattern"), retry for publishing, idempotent consumer.

[1] https://www.rabbitmq.com/confirms.html
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/9a7a6916-4651-46e8-991c-31eacbc15842%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages