You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/outbox.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,8 +165,8 @@ And finally, if for some reason you don't want to use a version check for a part
165
165
166
166
### Outbox for Shared DB
167
167
168
-
By default, CAP Java does not support shared database use cases, as this can lead to unexpected behavior when different isolated services use the same outboxes.
169
-
Since CAP automatically creates two outboxes — **DefaultOutboxOrdered** and **DefaultOutboxUnordered** — these would otherwise be shared across all services.
168
+
Currently, CAP Java does not yet support microservices with shared database out of the box, as this can lead to unexpected behavior when different isolated services use the same outboxes.
169
+
Since CAP automatically creates two outboxes with a static name — **DefaultOutboxOrdered** and **DefaultOutboxUnordered** — these would be shared across all services which introduces conflicts.
170
170
171
171
To avoid this, you can apply a manual workaround by customizing the outbox configuration and isolating them via distinct namespaces for each service.
0 commit comments