Design 47 H2b: H-A-876, the keeper hears its kept streams through mesh-sdk's hub, never a copy
This commit is contained in:
@@ -325,3 +325,14 @@ The preparer's rows of step 0b item 3 (2026-11-27, hq `.work/47-H2b/milestone.md
|
||||
`mesh-wants`' verb `owed-drop` answers `{dropped: [OwedEvent]}`, each dropped event whole, as its definition at
|
||||
mesh-delivery 613e89c8 has it; this amends H-A-869's `{dropped: [id]}`, since an answer that says what it dropped in
|
||||
full lets a person see what went. Principle 4.
|
||||
- **H-A-876 (the bus module's keeper hears its kept streams through mesh-sdk's hub, never a copy of it, 03:49)** 27 Nov,
|
||||
the review's part 4: §836 5. had the keeper keep its own binding code beside mesh-sdk's hub, and N1 built a copy of
|
||||
the hub's bind, wake on `durables-composed`, reconnect and `events-unheard` finding in
|
||||
`modules/nats/cmd/nats-tools/kept.go`, which already differs from it (an unescaped finding id, no machine in the
|
||||
subject, `HearEvents` where the hub reads a stream kept last per subject whole) and hard-codes which consumes are
|
||||
kept. The mesh's instructions settle it (*Working on the mesh*: modules share only mesh-sdk, logic several modules
|
||||
need is never copied into one), so §836 5. now reads: mesh-sdk's `process` hub binds, for a process that names
|
||||
one, the durable of that process's own name (the keeper's `<node>_nats_keeper`) in place of the module's, with every
|
||||
other behaviour of §836 1. to 4. unchanged; the keeper registers its one handler for each of its module's consumes
|
||||
on such a hub and starts it, and `kept.go`'s copy goes. Built in mesh-sdk (S5) and the bus module (N1 again), with
|
||||
N1's rows kept. This amends §836 5. The mesh's instruction; principles 9 and 8.
|
||||
|
||||
Reference in New Issue
Block a user