Skip to content
railsengines.com

Sbmt Outbox

Transactional outbox pattern

No ratings yet
Gem
sbmt-outbox
Repository
Kuper-Tech/sbmt-outbox
License
MIT
Stars
125
Added
August 19, 2026

About

Transactional outbox pattern

The Outbox pattern provides a reliable solution for message publishing. The idea behind this approach is to have an "outgoing message table" in the service's database. Before the main transaction completes, a new message row is added to this table. As a result, two actions take place as part of a single transaction. An asynchronous process retrieves new rows from the database table and, if they exist, publishes the messages to the broker.

Installing it

ruby
# Gemfile
gem "sbmt-outbox"

Details

125 stars on GitHub · MIT licensed · maintained by Kuper-Tech. Source: https://github.com/Kuper-Tech/sbmt-outbox

Discussion (0)

Sign in to join the discussion.

No comments yet.