diff --git a/README.md b/README.md index 26d020a..59164f5 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,12 @@ # Sbmt-Outbox -sbmt-outbox logo +sbmt-outbox logo Microservices often publish messages after a transaction has been committed. Writing to the database and publishing a message are two separate transactions, so they must be atomic. A failed publication of a message could lead to a critical failure of the business process. 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. -Read more about the Outbox pattern at https://microservices.io/patterns/data/transactional-outbox.html - ## Installation Add this line to your application's Gemfile: