Outbox with SQL persistence

Component: Sql Persistence

The Outbox feature requires persistence in order to store the messages and enable deduplication.

Table

To keep track of duplicate messages, the SQL persistence implementation of Outbox requires the creation of the dedicated Outbox tables. The names of the Outbox tables are generated automatically according to the rules specific for a given SQL dialect, for example the maximum name length limit.

See scripts used for table creation to learn more: MS SQL Server, Oracle, MySQL and PostgreSQL.

Deduplication record lifespan

The SQL persistence implementation by default keeps deduplication records for 7 days and runs the purge every minute.

Related Articles

  • Outbox
    Reliable messaging without distributed transactions.

Last modified