Skip to content

Commit

Permalink
make outbox a bit clearer (#969)
Browse files Browse the repository at this point in the history
* make outbox a bit clearer

* Update outbox.md

---------

Co-authored-by: René Jeglinsky <[email protected]>
  • Loading branch information
David-Kunz and renejeglinsky authored May 29, 2024
1 parent 5ae39d6 commit c6f6d70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node.js/outbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ for example to expose it in a service.

#### Known Limitations
- If the app crashes, another emit for the respective tenant and service is necessary to restart the message processing.
- The emitting service must not use user roles and attributes as they are not stored. However, the user id is stored to recreate the correct context.
- The emitting service must not perform any database modifications, because a global database transaction is used when dispatching the events.
- The service that handles the outboxed event must not use user roles and attributes as they are not stored. However, the user id is stored to recreate the correct context.
- The service that handles the outboxed event must not perform any database modifications, because a global database transaction is used when dispatching the events. The outbox must only be used for services which communicate with external systems.


## In-Memory Outbox
Expand Down

0 comments on commit c6f6d70

Please sign in to comment.