Stream "DAG", i.e. treat streams and their contexts as nodes in directed graph #2846
Pinned
edgarrmondragon
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
|
Is this planned as part of the eventual v1 release? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Use cases
1. One parent record spawns one child sync
stateDiagram-v2 [*] --> Parent1Record1 Parent1Record1 --> Context1 Context1 --> Child1Sync1 Child1Sync1 --> [*]2. One parent record spawns multiple child syncs
stateDiagram-v2 [*] --> Parent1Record1 Parent1Record1 --> Context1 Parent1Record1 --> Context2 Context1 --> Child1Sync1 Context2 --> Child1Sync2 Child1Sync1 --> [*] Child1Sync2 --> [*]3. Multiple records from different parent streams spawn a single child sync
Contexts are merged. The number of children syncs is equal to the Cartesian product of all records from all parent streams.
stateDiagram-v2 [*] --> Parent1Record1 [*] --> Parent2Record1 Parent1Record1 --> Context1 Parent2Record1 --> Context1 Context1 --> ChildSync1 ChildSync1 --> [*]4. Multiple records from different parent streams each spawn a sync for the same child stream
stateDiagram-v2 [*] --> Parent1Record1 [*] --> Parent2Record1 Parent1Record1 --> Context1 Parent2Record1 --> Context2 Context1 --> Child1Sync1 Context2 --> Child1Sync2 Child1Sync1 --> [*] Child1Sync2 --> [*]5. All the records from the parent stream aggregate into a single context and a single child sync
stateDiagram-v2 [*] --> Parent1Record1 [*] --> Parent1Record2 [*] --> Parent1RecordN Parent1Record1 --> Context1 Parent1Record2 --> Context1 Parent1RecordN --> Context1 Context1 --> ChildSync1 ChildSync1 --> [*]Related
Beta Was this translation helpful? Give feedback.
All reactions