Draft
Conversation
sjvans
commented
Apr 16, 2026
| ::: | ||
|
|
||
|
|
||
| ### Callbacks (SAGA Patterns) { #callbacks } |
sjvans
commented
Apr 16, 2026
|
|
||
| [[toc]] | ||
|
|
||
|
|
Contributor
Author
There was a problem hiding this comment.
general issue: "queued" vs "outboxed" and "unqueued" vs "unboxed" in Node.js/ Java
sjvans
commented
Apr 16, 2026
|
|
||
|
|
||
|
|
||
| ### Service API { #service-api } |
Contributor
Author
There was a problem hiding this comment.
more pseudo code style
sjvans
commented
Apr 16, 2026
| |-----|-------------| | ||
| | `srv.emit(event, data)` | Emit a fire-and-forget event message | | ||
| | `srv.send(event, data)` | Send a request (return value discarded for queued services) | | ||
| | `srv.run(query)` | Run a CQL query (return value discarded for queued services) | |
sjvans
commented
Apr 16, 2026
| ::: | ||
|
|
||
|
|
||
| ### Background Tasks { #background-tasks } |
Contributor
Author
There was a problem hiding this comment.
java variant missing
sjvans
commented
Apr 16, 2026
| ``` | ||
|
|
||
|
|
||
| ### Queueing by Configuration { #by-configuration } |
sjvans
commented
Apr 16, 2026
| ::: | ||
|
|
||
|
|
||
| ### Auto-Outboxed Services { #auto-outboxed } |
Contributor
Author
There was a problem hiding this comment.
- "outboxed by default"
- plus: inboxed by default (which nothing is, but should maybe be mentioned here as well)
sjvans
commented
Apr 16, 2026
| Because the event message is written within the same database transaction as your business data, a rollback of the transaction also removes the event message. | ||
| No event is ever dispatched for a transaction that didn't commit. | ||
|
|
||
| ### Guaranteed Order { #guaranteed-order } |
sjvans
commented
Apr 16, 2026
| ::: | ||
|
|
||
|
|
||
| ### Error Handling { #errors } |
Contributor
Author
There was a problem hiding this comment.
- Node.js vs Java not prominent enough
- add example in context of existing service, such as intercept audit logging
- Java doesn't yet have concept of unrecoverable errors that become dead letters (pr currently pending review)
sjvans
commented
Apr 16, 2026
|
|
||
|
|
||
|
|
||
| ## Deferred Principal Propagation { #principal-propagation } |
Contributor
Author
There was a problem hiding this comment.
remove and re-add once we know how it works
sjvans
commented
Apr 16, 2026
|
|
||
|
|
||
|
|
||
| ## Configuration |
sjvans
commented
Apr 16, 2026
| | `ordered` | `true` | Process entries in submission order | | ||
|
|
||
|
|
||
| ### In-Memory Queue |
sjvans
commented
Apr 16, 2026
|
|
||
|
|
||
|
|
||
| ## Manual Processing { #flush } |
Contributor
Author
There was a problem hiding this comment.
remove? or add java? what's the use case for stakeholders? flushing is automatic...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.